scipp.logical_not#

scipp.logical_not(x)#

Element-wise logical negation.

Equivalent to:

~a
Parameters

x (Union[Variable, DataArray, Dataset, DataGroup]) – Input data.

Returns

Union[Variable, DataArray, Dataset, DataGroup] – The logical inverse of x.