finam.data.check_axes_monotonicity#

finam.data.check_axes_monotonicity(axes)[source]#

Check axes to be strictly monotonic, and makes them strictly monotonic increasing.

Parameters:

axes (list of np.ndarray) – Axes defining the coordinates in each direction (xyz order). Will be modified inplace to be increasing.

Returns:

axes_increase – False to indicate a bottom up axis.

Return type:

list of bool

Raises:

ValueError – In case an axis in not strictly monotonic.