movement.utils.vector#

Description

Utility functions for vector operations.

Functions

cart2pol

Transform Cartesian coordinates to polar.

compute_norm

Compute the norm of the vectors along the spatial dimension.

compute_signed_angle_2d

Compute the signed angle from the vector u to the vector v.

convert_to_unit

Convert the vectors along the spatial dimension into unit vectors.

pol2cart

Transform polar coordinates to Cartesian.