Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
872cb0d
feat: Add compute_polarization for collective behavior analysis
khan-u Mar 7, 2026
fc2bab5
test(kinematics): add polarization edge cases and clarify first-frame…
khan-u Mar 17, 2026
a1896bc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 17, 2026
0087208
linting fix
khan-u Mar 17, 2026
0af9dc7
test(collective): consolidate related polarization tests to reduce re…
khan-u Mar 18, 2026
758ea04
feat(kinematics): add displacement_frames and return_angle params to …
khan-u Mar 18, 2026
e271a8c
refactor(collective): Rewrite compute_polarization with robust valida…
khan-u Mar 18, 2026
2bd4386
test(collective): add .sel() keypoint selection test, clarify docs
khan-u Mar 18, 2026
aef4ee9
refactor(polarization): rename heading_keypoints to body_axis_keypoin…
khan-u Mar 18, 2026
6efe00e
linting fix
khan-u Mar 19, 2026
8182d05
docs(polarization) use neutral u_hat notation for unit direction vector
khan-u Mar 19, 2026
96ef674
test(collective): add mathematical invariance, edge case, & validatio…
khan-u Mar 19, 2026
7d61af5
feat(polarization): add in_degrees parameter + unit test
khan-u Mar 19, 2026
9313b9d
SonarCloud warning fixes
khan-u Mar 20, 2026
6dd7fbb
refactor(collective): use more vector.py utilities for polarization c…
khan-u Apr 4, 2026
51866c9
feat(collective): add prior-free body-axis inference
khan-u Apr 2, 2026
1bd1618
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 4, 2026
14e2674
refactor(collective) extract out AP validation into body_axis.py
khan-u Apr 4, 2026
b1df3b9
update(body_axis) new config params optimized via grid search
khan-u Apr 5, 2026
15fd84d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 5, 2026
2e828f4
fix(test_collective): nomenclature perpendicular -> cardinal direccti…
khan-u Apr 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions movement/kinematics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Compute variables derived from ``position`` data."""

from movement.kinematics.collective import compute_polarization
from movement.kinematics.distances import compute_pairwise_distances
from movement.kinematics.kinematics import (
compute_acceleration,
Expand Down Expand Up @@ -32,4 +33,5 @@
"compute_head_direction_vector",
"compute_forward_vector_angle",
"compute_kinetic_energy",
"compute_polarization",
]
Loading