scipp.all#

scipp.all(x, dim=None)#

Logical AND over input values.

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

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

Returns:

TypeVar(VariableLikeType, Variable, DataArray, Dataset, DataGroup[Any]) – A variable containing True if all input values (along the given dimension) are True.

See also

scipp.any

Logical OR.