scipp.islinspace#

scipp.islinspace(x, dim=None)#

Check if the values of a variable are evenly spaced.

Parameters:
Returns:

TypeVar(_T, Variable, DataGroup[object]) – Variable of value True if the variable contains regularly spaced values, variable of value False otherwise.