scipp.nanmin#

scipp.nanmin(x, dim=None)#

Minimum of elements in the input ignoring NaN’s.

Parameters
  • x (scipp.typing.VariableLike) – Input data.

  • dim (Optional[str], default: None) – Optional dimension along which to calculate the min. If not given, the min over all dimensions is calculated.

Returns

TypeVar(VariableLikeType, Variable, DataArray, Dataset, DataGroup) – The minimum of the input values.

See also

scipp.min

Element-wise minimum without special handling for NaN.

scipp.max

Element-wise maximum without special handling for NaN.

scipp.nanmax

Same as max but ignoring NaN’s.