pymovements.utils.checks#
Provides basic checks to be reused in other modules.
Functions
Check if all passed values are greater than zero. |
|
Check if all passed values are of type int. |
|
Check if two sequences are of equal length. |
|
Check if at most one of two values is not None. |
|
Check if two values are either both None or both have a value. |
|
Check if all passed values are None. |
|
Check if all passed values are have a value greater or equal to zero. |
|
Check if all passed values are of type int or float. |
|
Check if all nans occur at the same time steps for both channels. |
|
Check if variable, or if it is iterable, any of its components are zero. |
|
Check if all provided arrays are of shape |
|
Check if exactly two keyword arguments are given. |