neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
103 stars 8 forks source link

Compute radial and tangential components of velocity / acceleration #289

Open sfmig opened 2 months ago

sfmig commented 2 months ago

Is your feature request related to a problem? Please describe. There are a few reference frames in kinematics/dynamics that are often useful, for example to relate kinematics to forces, or to express a kinematic quantity as components that are more interpretable.

For example (they may have better names):

Describe the solution you'd like One option could be to treat these as change of basis operations. We could have a function that computes at each timestep the change of basis matrix from "world" coordinates to "intrinsic" coordinates. Then this matrix could be applied to the velocity or acceleration vector to express it in intrinsic coordinates.

niksirbi commented 2 months ago

I like it, especially the normal-tangential basis.