check_evenly_sampled

function of dascore.utils.misc source

check_evenly_sampled(
    array: numpy.__array_like._SupportsArray[numpy.dtype[Any]] | numpy.__nested_sequence._NestedSequence[numpy.__array_like._SupportsArray[numpy.dtype[Any]]] | bool | int | float | <class ’complex | str | <class ’bytes | numpy.__nested_sequence._NestedSequence[bool | int | float | <class ’complex | str | <class ’bytes] ,
)

Check if an array is evenly sampled.

If not raise a ParameterError.