NeuroImageNeurosciencePeer-reviewed journal article
Robust detrending, rereferencing, outlier detection, and inpainting for multichannel data
Abstract
Electroencephalography (EEG), magnetoencephalography (MEG) and related techniques are prone to glitches, slow drift, steps, etc., that contaminate the data and interfere with the analysis and interpretation. These artifacts are usually addressed in a preprocessing phase that attempts to remove them or minimize their impact. This paper offers a set of useful techniques for this purpose: robust detrending, robust rereferencing, outlier detection, data interpolation (inpainting), step removal, and filter ringing artifact removal. These techniques provide a less wasteful alternative to discarding corrupted trials or channels, and they are relatively immune to artifacts that disrupt alternative approaches such as filtering. Robust detrending allows slow drifts and common mode signals to be factored out while avoiding the deleterious effects of glitches. Robust rereferencing reduces the impact of artifacts on the reference. Inpainting allows corrupt data to be interpolated from intact parts based on the correlation structure estimated over the intact parts. Outlier detection allows the corrupt parts to be identified. Step removal fixes the high-amplitude flux jump artifacts that are common with some MEG systems. Ringing removal allows the ringing response of the antialiasing filter to glitches (steps, pulses) to be suppressed. The performance of the methods is illustrated and evaluated using synthetic data and data from real EEG and MEG systems. These methods, which are are mainly automatic and require little tuning, can greatly improve the quality of the data.
- Citations
- 183
- FWCI
- 6.24
- Field percentile
- top 3%
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
- Removing mains power artefacts from EEG - a novel template-based method
S. Zhang, B. McCane, … N. McNaughton·bioRxiv·Jan 27, 2020
- EEG is better when cleaning effectively targets artifacts
Neil Wayne Bailey, Aron T. Hill, … Paul Bernard Fitzgerald·Clinical NeurophysiologyPeer-reviewed·Oct 10, 2025
- AUTOMAGIC: Standardized Preprocessing of Big EEG Data
Andreas Pedroni, Amirreza Bahreini, Nicolas Langer·NeuroImagePeer-reviewed·Jun 21, 2019
- 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
- ZapLine: a simple and effective method to remove power line artifacts
Alain De Cheveigné A·NeuroImagePeer-reviewed·Nov 28, 2019
- High-pass filtering artifacts in multivariate classification of neural time series data
Joram van Driel, Christian N. L. Olivers, Johannes J. Fahrenfort·Journal of Neuroscience MethodsPeer-reviewed·Jan 27, 2021