NeuroImageNeurosciencePeer-reviewed journal article
AUTOMAGIC: Standardized Preprocessing of Big EEG Data
Abstract
Electroencephalography (EEG) recordings have been rarely included in large-scale studies. This is arguably not due to a lack of information that lies in EEG recordings but mainly on account of methodological issues. In many cases, particularly in clinical, pediatric and aging populations, the EEG has a high degree of artifact contamination and the quality of EEG recordings often substantially differs between subjects. Although there exists a variety of standardized preprocessing methods to clean EEG from artifacts, currently there is no method to objectively quantify the quality of preprocessed EEG. This makes the commonly accepted procedure of excluding subjects from analyses due to exceeding contamination of artifacts highly subjective. As a consequence, P-hacking is fostered, the replicability of results is decreased, and it is difficult to pool data from different study sites. In addition, in large-scale studies, data are collected over years or even decades, requiring software that controls and manages the preprocessing of ongoing and dynamically growing studies. To address these challenges, we developed Automagic, an open-source MATLAB toolbox that acts as a wrapper to run currently available preprocessing methods and offers objective standardized quality assessment for growing studies. The software is compatible with the Brain Imaging Data Structure (BIDS) standard and hence facilitates data sharing. In the present paper we outline the functionality of Automagic and examine the effect of applying combinations of methods on a sample of resting EEG data. This examination suggests that applying a pipeline of algorithms to detect artifactual channels in combination with Multiple Artifact Rejection Algorithm (MARA), an independent component analysis (ICA)-based artifact correction method, is sufficient to reduce a large extent of artifacts.
- Citations
- 296
- FWCI
- 13.94
- 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
- EEG is better left alone
Arnaud Delorme A·Scientific ReportsPeer-reviewed·Feb 9, 2023
- PyLossless: A non-destructive EEG processing pipeline
Scott Huberty, James A. Desjardins, … Christian O’Reilly·Behavior Research MethodsPeer-reviewed·Jul 6, 2026
- 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
- How Sensitive are EEG Results to Preprocessing Methods: A Benchmarking Study
Kay A. Robbins, Jonathan Touryan, … Nima Bigdely-Shamlo·IEEE Transactions on Neural Systems and Rehabilitation EngineeringPeer-reviewed·Mar 26, 2020
- EEG is better when cleaning effectively targets artifacts
Neil Wayne Bailey, Aron T. Hill, … Paul Bernard Fitzgerald·Clinical NeurophysiologyPeer-reviewed·Oct 10, 2025
- The Maryland Analysis of Developmental EEG (MADE) Pipeline
Ranjan Debnath, George Arthur Buzzell, … Nathan A. Fox·PsychophysiologyPeer-reviewed·Apr 15, 2020