ezmsg.sigproc.detrend#
Remove linear or constant trends from data along an axis.
Classes
- class DetrendTransformer(*args, **kwargs)[source]#
Bases:
EWMATransformer- Detrend the data using an exponentially weighted moving average (EWMA)
estimate of the mean.
- class DetrendUnit(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformerUnit[EWMASettings,AxisArray,AxisArray,DetrendTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
EWMASettings
- async on_settings(msg)[source]#
Handle settings updates with smart reset behavior.
Only resets state if axis changes (structural change). Changes to time_constant or accumulate are applied without resetting accumulated state.
- Parameters:
msg (EWMASettings)
- Return type:
None