finam.data.check_uniformity#

finam.data.check_uniformity(values)[source]#

Checks for uniform spacing of values

Parameters:

values (np.ndarray) – Values to check.

Returns:

is_uniform – Average spacing, of NaN if not uniform.

Return type:

float