Clinical NeurophysiologyNeurosciencePeer-reviewed journal article
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 BaileyiD, Mana BiabaniiD, Aron T. HilliD, Aleksandra MiljeviciD, Nigel C. RogaschiD, Brittany McQueeniD, Oscar W. MurphyiD, Paul Bernard FitzgeraldiD
Abstract
Electroencephalographic (EEG) data is typically contaminated with non-neural artifacts which can confound the results of experiments. Artifact cleaning approaches are available, but often require time-consuming manual input and significant expertise. Advancements in artifact cleaning often only address a single artifact, are only compared against a small selection of pre-existing methods, and seldom assess whether a proposed advancement improves experimental outcomes. To address these issues, we developed RELAX (the Reduction of Electroencephalographic Artifacts), an automated EEG cleaning pipeline implemented within EEGLAB that reduces all artifact types. RELAX cleans continuous data using Multiple Wiener filtering [MWF] and/or wavelet enhanced independent component analysis [wICA] applied to artifacts identified by ICLabel [wICA_ICLabel]). Several versions of RELAX were tested using three datasets containing a mix of cognitive and resting recordings (N = 213, 60 and 23 respectively). RELAX was compared against six commonly used EEG cleaning approaches across a wide range of artifact cleaning quality metrics, including signal-to-error and artifact-to-residue ratios, measures of remaining blink and muscle activity, and the amount of variance explained by experimental manipulations after cleaning. RELAX with MWF and wICA_ICLabel showed amongst the best performance for cleaning blink and muscle artifacts while still preserving neural signal. RELAX with wICA_ICLabel (and no MWF) may perform better at detecting the effect of experimental manipulations on alpha oscillations in working memory tasks. The pipeline is easy to implement in MATLAB and freely available on GitHub. Given its high cleaning performance, objectivity, and ease of use, we recommend RELAX for data cleaning across EEG studies.
- Citations
- 112
- FWCI
- 15.68
- Field percentile
- top 1%
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
- 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
- RELAX-Jr: An Automated Pre-Processing Pipeline for Developmental EEG Recordings
Aron T. Hill, Peter G. Enticott, … Neil Wayne Bailey·Human Brain MappingPeer-reviewed·Oct 1, 2024
- 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
- Removing mains power artefacts from EEG - a novel template-based method
S. Zhang, B. McCane, … N. McNaughton·bioRxiv·Jan 27, 2020
- State-of-the-art EEG artifact removal evaluation
Zhenyu Jin·bioRxiv·Oct 23, 2021