scipp.any#
- scipp.any(x, dim=None)#
Logical OR over input values.
- Parameters:
x (
scipp.typing.VariableLike) – Input data.dim (
Union[str,Iterable[str],None], default:None) – Dimension(s) along which to calculate the OR. If not given, the OR over all dimensions is calculated.
- Returns:
TypeVar(VariableLikeType,Variable,DataArray,Dataset,DataGroup[Any]) – A variable containingTrueif any input values (along the given dimension) areTrue.
See also
scipp.allLogical AND.