pyFDN.td.AbsoluteValue#
- class pyFDN.td.AbsoluteValue(channels)[source]#
Stateless memoryless nonlinearity
y[n, c] = |x[n, c]|.The one non-linear operator in the set: it has no transfer function and no frequency-domain counterpart, so a graph containing it can only be rendered in the time domain. Useful as a rectifier inside a loop (distortion, envelope-style feedback) and as the simplest way to test that the block engine stays sample-exact when superposition no longer holds – note that a non-linear operator makes the render depend on the input level.
Methods
__init__(channels)filter(block)Filter one block and advance internal state.
process(signal, *[, squeeze])Filter a whole signal in one call, from the current state.
reset()Clear internal state (no-op for stateless operators).
Attributes
in_channelsout_channels