mne_denoise.dss.denoisers.SmoothingBias#
- class mne_denoise.dss.denoisers.SmoothingBias(window: int = 10, iterations: int = 1)[source]#
Unified temporal smoothing bias (Moving Average).
Uses a boxcar moving average filter to smooth the data.”
- Parameters:
Examples
>>> bias = SmoothingBias(window=20) # Simple smoothing >>> biased = bias.apply(data)
>>> # To remove 50Hz line noise (Period smoothing) >>> bias = SmoothingBias(window=int(1000 / 50), iterations=1)
Methods
__init__([window, iterations])apply(data)Apply smoothing bias.