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:

InvertTransformer

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: Settings

This transform takes no parameters. See AnscombeSettings for why an empty settings class is needed rather than SETTINGS = None.

__init__()#
Return type:

None

class InvertTransformer(*args, settings=None, **kwargs)[source]#

Bases: BaseTransformer[InvertSettings, AxisArray, AxisArray]

Parameters:

settings (SettingsType)