The PREP pipeline: standardized preprocessing for large-scale EEG analysis
Open accessThe DOI matches its Crossref record; 30 of the 30 references it cites were found in a registry or an index.
Abstract
The technology to collect brain imaging and physiological measures has become portable and ubiquitous, opening the possibility of large-scale analysis of real-world human imaging. By its nature, such data is large and complex, making automated processing essential. This paper shows how lack of attention to the very early stages of an EEG preprocessing pipeline can reduce the signal-to-noise ratio and introduce unwanted artifacts into the data, particularly for computations done in single precision. We demonstrate that ordinary average referencing improves the signal-to-noise ratio, but that noisy channels can contaminate the results. We also show that identification of noisy channels depends on the reference and examine the complex interaction of filtering, noisy channel identification, and referencing. We introduce a multi-stage robust referencing scheme to deal with the noisy channel-reference interaction. We propose a standardized early-stage EEG processing pipeline (PREP) and discuss the application of the pipeline to more than 600 EEG datasets. The pipeline includes an automatically generated report for each dataset processed. Users can download the PREP pipeline as a freely available MATLAB library from http://eegstudy.org/prepcode.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Goldberger, A. L., Amaral, L. A. N., Glass, L., Hausdorff, J. M., Ivanov, P. C., Mark, R. G., Mietus, J. E., Moody, G. B., Peng, C.-K., & Stanley, H. E. (2000) · Circulation · doi:10.1161/01.cir.101.23.e215 · Cited by 14,809
BCI2000: A General-Purpose Brain-Computer Interface (BCI) System
Schalk, G., McFarland, D. J., Hinterberger, T., Birbaumer, N., & Wolpaw, J. R. (2004) · IEEE Transactions on Biomedical Engineering · doi:10.1109/tbme.2004.827072 · Cited by 3,024
Spherical splines for scalp potential and current density mapping
Perrin, F., Pernier, J., Bertrand, O., & Echallier, J. F. (1989) · Electroencephalography and Clinical Neurophysiology · doi:10.1016/0013-4694(89)90180-6 · Cited by 2,706 · cited 1×
“The RANSAC algorithm uses a method of spherical splines for estimating scalp potential based on algorithms proposed by Perrin et al. (1989).”
MethodADJUST: An automatic EEG artifact detector based on the joint use of spatial and temporal features
Mognon, A., Jovicich, J., Bruzzone, L., & Buiatti, M. (2011) · Psychophysiology · doi:10.1111/j.1469-8986.2010.01061.x · Cited by 1,290
FASTER: Fully Automated Statistical Thresholding for EEG artifact Rejection
Nolan, H., Whelan, R., & Reilly, R. B. (2010) · Journal of Neuroscience Methods · doi:10.1016/j.jneumeth.2010.07.015 · Cited by 1,077
Analysis of Dynamic Brain Imaging Data
Mitra, P. P., & Pesaran, B. (1999) · Biophysical Journal · doi:10.1016/s0006-3495(99)77236-x · Cited by 955
Analysis of Dynamic Brain Imaging Data
Mitra, P. P., & Pesaran, B. (1998) · Cold Spring Harbor Laboratory Institutional Repository (Cold Spring Harbor Laboratory) · Cited by 898
Good practice for conducting and reporting MEG research
Gross, J., Baillet, S., Barnes, G. R., Henson, R. N., Hillebrand, A., Jensen, O., Jerbi, K., Litvak, V., Maess, B., Oostenveld, R., et al. (2013) · NeuroImage · doi:10.1016/j.neuroimage.2012.10.001 · Cited by 738
Digital filter design for electrophysiological data – a practical approach
Widmann, A., Schröger, E., & Maess, B. (2015) · Journal of Neuroscience Methods · doi:10.1016/j.jneumeth.2014.08.002 · Cited by 711
Keil, A., Debener, S., Gratton, G., Junghöfer, M., Kappenman, E. S., Luck, S. J., Luu, P., Miller, G. A., & Yee, C. M. (2014) · Psychophysiology · doi:10.1111/psyp.12147 · Cited by 699
Cited by
EEGNet: A Compact Convolutional Network for EEG-based Brain-Computer Interfaces
Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon, S. M., Hung, C. P., & Lance, B. J. (2016) · arXiv · doi:10.48550/arxiv.1611.08024 · Cited by 5,105
EEGNet: a compact convolutional neural network for EEG-based brain-computer interfaces
Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon, S. M., Hung, C. P., & Lance, B. J. (2018) · Journal of Neural Engineering · doi:10.1088/1741-2552/aace8c · Cited by 5,115
“Due to extensive signal noise present in the data, the EEG data were first processed with the PREP pipeline [61].”
MethodICLabel: An automated electroencephalographic independent component classifier, dataset, and website
Pion-Tonachini, L., Kreutz-Delgado, K., & Makeig, S. (2019) · NeuroImage · doi:10.1016/j.neuroimage.2019.05.026 · Cited by 2,267
Deep learning-based electroencephalography analysis: a systematic review
Roy, Y., Banville, H., Albuquerque, I., Gramfort, A., Falk, T. H., & Faubert, J. (2019) · Journal of Neural Engineering · doi:10.1088/1741-2552/ab260c · Cited by 1,532
“In many fields of application of DL, input data usually has a high SNR: in both CV and NLP, for instance, virtually noise-free images and natural language excerpts are easy to obtain.”
BackgroundInfluentialReal-time neuroimaging and cognitive monitoring using wearable dry EEG
Mullen, T. R., Kothe, C. A. E., Chi, Y. M., Ojeda, A., Kerth, T., Makeig, S., Jung, T.-P., & Cauwenberghs, G. (2015) · IEEE Transactions on Biomedical Engineering · doi:10.1109/tbme.2015.2481482 · Cited by 795
Self-citationAutoreject: Automated artifact rejection for MEG and EEG data
Jas, M., Engemann, D. A., Bekhti, Y., Raimondo, F., & Gramfort, A. (2017) · NeuroImage · doi:10.1016/j.neuroimage.2017.06.030 · Cited by 598
Gabard-Durnam, L. J., Mendez Leal, A. S., Wilkinson, C. L., & Levin, A. R. (2018) · Frontiers in Neuroscience · doi:10.3389/fnins.2018.00097 · Cited by 535
Methods for artifact detection and removal from scalp EEG: A review
Islam, M. K., Rastegarnia, A., & Yang, Z. (2016) · Neurophysiologie Clinique/Clinical Neurophysiology · doi:10.1016/j.neucli.2016.07.002 · Cited by 457
Rogasch, N. C., Sullivan, C., Thomson, R. H., Rose, N. S., Bailey, N. W., Fitzgerald, P. B., Farzan, F., & Hernandez-Pavon, J. C. (2017) · NeuroImage · doi:10.1016/j.neuroimage.2016.10.031 · Cited by 411
“…introduced to TMS–EEG recordings during analysis Typical analysis pipelines for event-related potential EEG studies include several steps such as filtering, downsampling, epoching, baseline-correcting, ICA and finally averaging the data across epochs (Bigdely-Shamlo et al., 2015; Luck, 2005).”
InfluentialData augmentation for deep-learning-based electroencephalography
Lashgari, E., Liang, D., & Maoz, U. (2020) · Journal of Neuroscience Methods · doi:10.1016/j.jneumeth.2020.108885 · Cited by 398
Smith, E. E., Reznik, S. J., Stewart, J. L., & Allen, J. J. B. (2017) · International Journal of Psychophysiology · doi:10.1016/j.ijpsycho.2016.11.005 · Cited by 335
Very high density EEG elucidates spatiotemporal aspects of early visual processing
Robinson, A. K., Venkatesh, P., Boring, M. J., Tarr, M. J., Grover, P., & Behrmann, M. (2017) · Scientific Reports · doi:10.1038/s41598-017-16377-3 · Cited by 302
Automagic: Standardized preprocessing of big EEG data
Pedroni, A., Bahreini, A., & Langer, N. (2019) · NeuroImage · doi:10.1016/j.neuroimage.2019.06.046 · Cited by 292
Delorme, A. (2023) · Scientific Reports · doi:10.1038/s41598-023-27528-0 · Cited by 260
Neural Decoding of EEG Signals with Machine Learning: A Systematic Review
Saeidi, M., Karwowski, W., Farahani, F. V., Fiok, K., Taiar, R., Hancock, P. A., & Al-Juaid, A. (2021) · Brain Sciences · doi:10.3390/brainsci11111525 · Cited by 258
Hill, A. T., Clark, G. M., Bigelow, F. J., Lum, J. A. G., & Enticott, P. G. (2022) · Developmental Cognitive Neuroscience · doi:10.1016/j.dcn.2022.101076 · Cited by 222
“…filtered between 0.5 – 80 Hz (fourth-order Butterworth filter), with a notch filter between 47-53 Hz to remove any line noise, following which any bad channels were removed using a multi-step process including the ‘findNoisyChannels’ function from the PREP pipeline (Bigdely-Shamlo et al., 2015).”
MethodInfluentialThe Maryland analysis of developmental EEG (MADE) pipeline
Debnath, R., Buzzell, G. A., Morales, S., Bowers, M. E., Leach, S. C., & Fox, N. A. (2020) · Psychophysiology · doi:10.1111/psyp.13580 · Cited by 216
Mobile EEG in research on neurodevelopmental disorders: Opportunities and challenges
Lau-Zhu, A., Lau, M. P. H., & McLoughlin, G. (2019) · Developmental Cognitive Neuroscience · doi:10.1016/j.dcn.2019.100635 · Cited by 201
“, 2009) and for big-data automated EEG pre-processing pipelines (Bigdely-Shamlo et al., 2015; Chaumon et al., 2015; Mognon et al., 2011).”
BackgroundConnectivity Analysis in EEG Data: A Tutorial Review of the State of the Art and Emerging Trends
Chiarion, G., Sparacino, L., Antonacci, Y., Faes, L., & Mesin, L. (2023) · Bioengineering · doi:10.3390/bioengineering10030372 · Cited by 195
Robust detrending, rereferencing, outlier detection, and inpainting for multichannel data
de Cheveigné, A., & Arzounian, D. (2018) · NeuroImage · doi:10.1016/j.neuroimage.2018.01.035 · Cited by 181
“Robust techniques are well developed in statistics and data mining (Aggarwal, 2016), and some have been applied to EEG or other signals (Pernet et al., 2011; Lepage et al., 2014; Bigdely-Shamlo et al., 2015; Krauledat et al., 2007).”
ZapLine: A simple and effective method to remove power line artifacts
de Cheveigné, A. (2020) · NeuroImage · doi:10.1016/j.neuroimage.2019.116356 · Cited by 178
Spatial Filtering for EEG-Based Regression Problems in Brain–Computer Interface (BCI)
Wu, D., King, J.-T., Chuang, C.-H., Lin, C.-T., & Jung, T.-P. (2018) · IEEE Transactions on Fuzzy Systems · doi:10.1109/tfuzz.2017.2688423 · Cited by 116
Tang, M. F., Smout, C. A., Arabzadeh, E., & Mattingley, J. B. (2018) · eLife · doi:10.7554/elife.33123 · Cited by 83
A scoping review on the use of consumer-grade EEG devices for research
Sabio, J., Williams, N. S., McArthur, G. M., & Badcock, N. A. (2024) · PLOS ONE · doi:10.1371/journal.pone.0291186 · Cited by 98
Panwar, S., Rad, P., Jung, T.-P., & Huang, Y. (2020) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2020.3006180 · Cited by 76
EEG-Based User Reaction Time Estimation Using Riemannian Geometry Features
Wu, D., Lance, B. J., Lawhern, V. J., Gordon, S., Jung, T.-P., & Lin, C.-T. (2017) · IEEE Transactions on Neural Systems and Rehabilitation Engineering · doi:10.1109/tnsre.2017.2699784 · Cited by 64
Lefebvre, A., Delorme, R., Delanoë, C., Amsellem, F., Beggiato, A., Germanaud, D., Bourgeron, T., Toro, R., & Dumas, G. (2018) · Frontiers in Neuroscience · doi:10.3389/fnins.2018.00662 · Cited by 58
Perera, M. P. N., Mallawaarachchi, S., Bailey, N. W., Murphy, O. W., & Fitzgerald, P. B. (2022) · doi:10.1101/2022.10.03.510571 · Cited by 51
Dementia ConnEEGtome: towards multicentric harmonization of EEG connectivity in neurodegeneration
Prado, P., Birba, A., Cruzat, J., Santamaría-García, H., Parra, M., Moguilner, S., Tagliazucchi, E., & Ibáñez, A. (2022) · International Journal of Psychophysiology · doi:10.1016/j.ijpsycho.2021.12.008 · Cited by 43
“This is the case of the standardized early-stage EEG processing pipeline (PREP), an opensource tool for automatic removal of line noise, electrode interpolation, and average referencing (Bigdely-Shamlo et al., 2015).”
MethodMulti-modality Sensor Data Classification with Selective Attention
Zhang, X., Yao, L., Huang, C., Wang, S., Tan, M., Long, G., & Wang, C. (2018) · Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2018/432 · Cited by 41
EEG Lempel-Ziv complexity varies with sleep stage, but does not seem to track dream experience
Aamodt, A., Sevenius Nilsen, A., Markhus, R., Kusztor, A., HasanzadehMoghadam, F., Kauppi, N., Thürer, B., Storm, J. F., & Juel, B. E. (2023) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2022.987714 · Cited by 30
“Bad channels were automatically detected and interpolated, and robust average re-referencing was performed using the EEG-Clean-Tools EEGLAB-plugin (PREP-pipeline) (Bigdely-Shamlo et al., 2015).”
MethodEEG Signal Diversity Varies With Sleep Stage and Aspects of Dream Experience
Aamodt, A., Nilsen, A. S., Thürer, B., Moghadam, F. H., Kauppi, N., Juel, B. E., & Storm, J. F. (2021) · Frontiers in Psychology · doi:10.3389/fpsyg.2021.655884 · Cited by 23
“After sleep scoring and marking of bad segments, datasets were automatically preprocessed using the EEG-Clean-Tools EEGLAB-plugin (Bigdely-Shamlo et al., 2015).”
MethodStructural inequality and temporal brain dynamics across diverse samples
Baez, S., Hernandez, H., Moguilner, S., Cuadros, J., Santamaria‐Garcia, H., Medel, V., Migeot, J., Cruzat, J., Valdes‐Sosa, P. A., Lopera, F., et al. (2024) · Clinical and Translational Medicine · doi:10.1002/ctm2.70032 · Cited by 21
Navid, M. S., Niazi, I. K., Lelic, D., Drewes, A. M., & Haavik, H. (2019) · Sensors · doi:10.3390/s19112610 · Cited by 22
Investigating the Effects of Chiropractic Spinal Manipulation on EEG in Stroke Patients
Navid, M. S., Niazi, I. K., Lelic, D., Nedergaard, R. B., Holt, K., Amjad, I., Drewes, A. M., & Haavik, H. (2020) · Brain Sciences · doi:10.3390/brainsci10050253 · Cited by 18
Perera, M. P. N., Mallawaarachchi, S., Bailey, N. W., Murphy, O. W., & Fitzgerald, P. B. (2023) · Psychological Medicine · doi:10.1017/s0033291723000843 · Cited by 18
“After the MWF cleaning, data were average re-referenced using the PREP method (Bigdely-Shamlo et al., 2015), and then subjected to independent component analysis (ICA) using fastICA (Hyvarinen, 1999).”
MethodModeling the Intent to Interact With VR Using Physiological Features
Nguyen, W., Gramann, K., & Gehrke, L. (2024) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3308787 · Cited by 12
“To detect bad channels for exclusion, EEGLAB’s ‘FindNoisyChannel’ function was used, which is selecting bad channels by amplitude, the signal-to-noise ratio, and correlation withotherchannels[2].”
MethodPerez, T. M., Glue, P., Adhia, D. B., Navid, M. S., Zeng, J., Dillingham, P., Smith, M., Niazi, I. K., Young, C. K., & De Ridder, D. (2022) · Trials · doi:10.1186/s13063-022-06863-z · Cited by 8
“1 [232] will be run to identify and interpolate bad channels, remove line noise, and robust average reference the data.”
Background
Metadata
- Authors
- Bigdely-Shamlo, N., Mullen, T., Kothe, C., Su, K.-M., & Robbins, K. A.
- Venue
- Frontiers in Neuroinformatics
- Publisher
- Frontiers Media SA
- Published
- 2015-06-18
- Volume
- 9
- Pages
- 16-16
- ISSN
- 1662-5196 (ISSN-L)
- OpenAlex
- W1525254066
- Cited by
- 1,351
- References
- 30
- FWCI
- 18.99
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.