scipp.islinspace
scipp.islinspace¶
- scipp.islinspace(x, dim=None)¶
Check if the values of a variable are evenly spaced.
- Parameters
x (scipp._scipp.core.Variable) – Variable to check.
dim (Optional[str]) – Optional variable for the dim to check from the Variable.
- Returns
Variable of value True if the variable contains regularly spaced values, variable of value False otherwise.
- Return type