pyFDN.td.TimeOperator#
- class pyFDN.td.TimeOperator[source]#
Abstract class. Parent of all classes belonging to the td-graph group. A stateful
(T, in_channels) -> (T, out_channels)time-domain block. Subclasses setin_channels/out_channelsand implementfilter().reset()returns the operator to its initial (zero) state.- __init__()#
Methods
__init__()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
- process(signal, *, squeeze=False)[source]#
Filter a whole signal in one call, from the current state.
Convenience wrapper around
filter()for the common case of rendering an operator tree offline. Operators that process in blocks internally (Recursion) do so regardless of how the signal is handed to them, so this gives the same result as streamingsignalthroughfilter()block by block.