ezmsg.sigproc.math.invert#
Compute the multiplicative inverse (1/x) of the data.
Note
This module supports the Array API standard, enabling use with NumPy, CuPy, PyTorch, and other compatible array libraries.
Functions
- invert()[source]#
Take the inverse of the data.
Returns:
InvertTransformer.- Return type:
Classes
- class Invert(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformerUnit[InvertSettings,AxisArray,AxisArray,InvertTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
InvertSettings
- class InvertSettings[source]#
Bases:
SettingsThis transform takes no parameters. See
AnscombeSettingsfor why an empty settings class is needed rather thanSETTINGS = None.- __init__()#
- Return type:
None
- class InvertTransformer(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformer[InvertSettings,AxisArray,AxisArray]- Parameters:
settings (SettingsType)