Zapline-plus: a Zapline extension for automatic and adaptive removal of frequency-specific noise artifacts in M/EEG
Abstract
Removing power line noise and other frequency-specific artifacts from electrophysiological data without affecting neural signals remains a challenging task. Recently, an approach was introduced that combines spectral and spatial filtering to effectively remove line noise: Zapline (de Cheveigne, 2020). This algorithm, however, requires manual selection of the noise frequency and the number of spatial components to remove during spatial filtering. Moreover, it assumes that noise frequency and spatial topography are stable over time, which is often not warranted. To overcome these issues, we introduce Zapline-plus, which allows adaptive and automatic removal of frequency-specific noise artifacts from M/EEG and LFP data. To achieve this, our extension first segments the data into periods (chunks) in which the noise is spatially stable. Then, for each chunk, it searches for peaks in the power spectrum, and finally applies Zapline. The exact noise frequency around the found target frequency is also determined separately for every chunk to allow fluctuations of the peak noise frequency over time. The number of to-be-removed components by Zapline is automatically determined using an outlier detection algorithm. Finally, the frequency spectrum after cleaning is analyzed for suboptimal cleaning and parameters are adapted accordingly if necessary before re-running the process. The software creates a detailed plot for monitoring the cleaning. We showcase the efficacy of the different features of our algorithm by applying it to four openly available data sets, two EEG sets containing both stationary and mobile task conditions, and two MEG sets containing strong line noise.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 124
- FWCI
- 11.08
- Field percentile
- top 1%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- ZapLine: a simple and effective method to remove power line artifacts
Alain De Cheveigné A·NeuroImagePeer-reviewed·Nov 28, 2019
- Removing mains power artefacts from EEG - a novel template-based method
S. Zhang, B. McCane, … N. McNaughton·bioRxiv·Jan 27, 2020
- Robust detrending, rereferencing, outlier detection, and inpainting for multichannel data
Alain De Cheveigné A, Dorothée Arzounian·NeuroImagePeer-reviewed·Feb 12, 2018
- Real-Time Spatiotemporal Filtering for Artifact-Free EEG during Electrical Neurostimulation
David Menrath, Joshua Pepe Woller, Alireza Gharabaghi·bioRxiv·Nov 6, 2024
- Introducing RELAX (the Reduction of Electroencephalographic Artifacts): A fully automated pre-processing pipeline for cleaning EEG data - Part 2: Application to Event-Related Potentials
Neil Wayne Bailey, Aron T. Hill, … Paul Bernard Fitzgerald·Clinical NeurophysiologyPeer-reviewed·Feb 13, 2023
- Introducing RELAX (the Reduction of Electroencephalographic Artifacts): A fully automated pre-processing pipeline for cleaning EEG data - Part 1: Algorithm and Application to Oscillations
Neil Wayne Bailey, Mana Biabani, … Paul Bernard Fitzgerald·Clinical NeurophysiologyPeer-reviewed·Feb 13, 2023