pymovements.events.peak_velocity#
- pymovements.events.peak_velocity(*, velocity_column: str = 'velocity', n_components: int = 2) Expr[source]#
Peak velocity of an event.
- Parameters:
velocity_column – The column name of the velocity tuples.
n_components – Number of positional components. Usually these are the two components yaw and pitch.
- Raises:
ValueError – If number of components is not 2.