mne_denoise.dss.denoisers.PeakFilterBias#
- class mne_denoise.dss.denoisers.PeakFilterBias(freq: float, sfreq: float, *, q_factor: float = 30.0, order: int = 2)[source]#
Peak filter bias for single-frequency extraction.
Applies a narrow bandpass (peak) filter to emphasize activity at a specific frequency. More selective than BandpassBias, using a resonant filter design.
- Parameters:
Examples
>>> # Extract 10 Hz alpha with tight filter >>> from mne_denoise.dss.denoisers import PeakFilterBias >>> bias = PeakFilterBias(freq=10, sfreq=250, q_factor=30) >>> biased_data = bias.apply(data)
See also
mne_denoise.dss.denoisers.spectral.BandpassBiasFor broader band rhythms.
Notes
Uses a second-order IIR peak filter design. Q factor determines the bandwidth: bandwidth ≈ freq / Q.
References
Särelä & Valpola (2005). Section 4.1.2 “DENOISING BASED ON FREQUENCY CONTENT”
Methods
__init__(freq, sfreq, *[, q_factor, order])apply(data)Apply peak filter bias.