ZapLine#

These examples illustrate two distinct line-noise settings.

The first applies standard ZapLine to real MNE Sample MEG with a stable 60-Hz target and evaluates line attenuation together with off-band spectral change.

The second uses controlled nonstationary frequency-specific noise to compare a single global fit with adaptive ZapLine. Known clean data make it possible to evaluate reconstruction and signal preservation separately.

Removing 60-Hz line noise and its harmonic from real MEG with ZapLine

Removing 60-Hz line noise and its harmonic from real MEG with ZapLine

Adaptive ZapLine for changing line-noise statistics

Adaptive ZapLine for changing line-noise statistics