pymovements.utils.checks#

This module holds basic checks which will be reused in other modules.

Functions

check_nan_both_channels

Checks if all nans occur at the same time steps for both channels.

check_no_zeros

Check if variable, or if it is iterable, any of its components are zero.

check_shapes_positions_velocities

Checks if positions and velocities are of shape (N, 2) and shape is equal for both.