pymovements.utils.checks.check_shapes#

pymovements.utils.checks.check_shapes(**kwargs: Any) None#

Check if all provided arrays are of shape (N, 2) and shape is equal for all arrays.

Parameters:

**kwargs (Any) – Keyword argument dictionary with 2 keyword arguments.

Raises:

ValueError – If any of the arrays is not of shape (N, 2) or if the shapes are not equal.