scipp.nanmin#

scipp.nanmin(x, dim=None, *, out=None)#

Element-wise min ignoring not at number values over the specified dimension or all dimensions if not provided.

Parameters
  • x (Variable) – 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.

  • out (Optional[Variable], default: None) – Optional output buffer.

Raises

If the dimension does not exist, or the dtype cannot be summed, e.g., if it is a string.

Returns

Variable – The min of the input values.

Seealso

scipp.min(), scipp.nanmax().