animetric 0.4.0 (2026-08-18)
Changed
- Removed the
aniframe_kin2dandaniframe_kin3dclasses.calculate_kinematics()set them, but nothing ever read them — no predicate, no method, no test in any package — and the dimensionality they encoded already lives in thecoordinate_systemmetadata field. Kinematics output still carriesaniframe_kin, which is what thesummarise_*()functions dispatch on.
Fixed
-
calculate_nnd()checks that theindividualandkeypointcolumns exist before reading them. An absent column was reported as an all-NAone, and every call warned on the way. Surfaced by aniframe 0.7.0, which no longer adds akeypointcolumn beside an existing identity.
animetric 0.3.1
Added
-
summarise_aniframe()andsummarise_tortuosity(), alongsidesummarize_*()spellings forsummarise_aniframe(),summarise_kinematics()andsummarise_tortuosity().
Fixed
-
calculate_tortuosity()preserves the classes of the frame it was given. -
calculate_nnd()keeps the incoming classes rather than returning a plain frame.
animetric 0.3.0 (2025-12-04)
The calculate_*() and summarise_*() families are reworked, tortuosity metrics arrive, and with calculate_nnd() the package gains its first social metric.
Added
-
calculate_nnd()andcompute_nnd()compute nearest-neighbour distance through a time series — the first collective metric in the package.
Removed
-
calculate_kinematics_2d(),calculate_kinematics_3d(),calculate_tortuosity_2d()andcalculate_tortuosity_3d().calculate_kinematics()andcalculate_tortuosity()branch on dimensionality themselves, from the frame’scoordinate_system.
animetric 0.2.0
The package takes its present shape: kinematics, path complexity, angles and summaries.
Added
- Kinematics:
calculate_kinematics(), withcalculate_kinematics_2d()and_3d()behind it, anddifferentiate(). - Path complexity:
calculate_tortuosity()with_2d()and_3d()variants,compute_sinuosity(),compute_straightness()andcompute_emax(). - Spatial summaries:
compute_centroid(). - Circular statistics:
mean_angle()andmedian_angle(). - Summaries:
summarise_kinematics()andsummarise_keypoints(). -
is_aniframe_kin()to test whether a frame carries kinematics. - Angle helpers re-exported from aniframe:
deg_to_rad(),rad_to_deg(),wrap_angle(),unwrap_angle(),diff_angle()andcalculate_angular_difference().