Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 16, 2026.

The PREP pipeline: standardized preprocessing for large-scale EEG analysis

Nima Bigdely-Shamlo, Tim Mullen, Christian Kothe and 2 more

Frontiers in Neuroinformatics · 2015

doi:10.3389/fninf.2015.00016

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.

References 38

  1. 1.

    Acunzo D. J. MacKenzie G. van Rossum M. C. W. (2012 ). Systematic biases in early ERP and ERF components as a result of high-pass filtering. J. Neurosci. Methods 209, 212–218.

    Not in our library10.1016/j.jneumeth.2012.06.011

  2. 2.

    Barnett L. Seth A. K. (2011 ). Behaviour of Granger causality under filtering: theoretical invariance and practical application. J. Neurosci. Methods 201, 404–419.

    Not in our library10.1016/j.jneumeth.2011.08.010

  3. 3.

    Chuang C.-H. Ko L.-W. Jung T.-P. Lin C.-T. (2014a ). Kinesthesia in a sustained-attention driving task. Neuroimage 91, 187–202.

    Not in our library10.1016/j.neuroimage.2014.01.015

  4. 4.

    Chuang C.-H. Ko L.-W. Lin Y.-P. Jung T.-P. Lin C.-T. (2014b ). Independent component ensemble of EEG for brain-computer interface. IEEE Trans Neural Syst. Rehabil. Eng. 22, 230–238.

    Not in our library10.1109/tnsre.2013.2293139

  5. 5.

    Chuang S.-W. Ko L.-W. Lin Y.-P. Huang R.-S. Jung T.-P. Lin C.-T. (2012 ). Co-modulatory spectral changes in independent brain processes are correlated with task performance. Neuroimage 62, 1469–1477.

    Not in our library10.1016/j.neuroimage.2012.05.035

  6. 6.

    Essl M. M. Rappelsberger P. (1998 ). EEG cohererence and reference signals: experimental results and mathematical explanations. Med. Biol. Eng. Comput. 36, 399–406.

    Not in our library10.1007/bf02523206

  7. 7.

    Fischler M. A. Bolles R. C. (1981 ). Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Commun. ACM 24, 381–395.

    Not in our library10.1145/358669.358692

  8. 8.

    Goldberger A. L. Amaral L. A. N. Glass L. Hausdorff J. M. Ivanov P. C. Mark R. G.. (2000 ). PhysioBank, physiotoolkit, and physionet components of a new research resource for complex physiologic signals. Circulation 101, e215–e220.

    Not in our library10.1161/01.cir.101.23.e215

  9. 9.
  10. 10.

    Hairston W. D. Whitaker K. W. Ries A. J. Vettel J. M. Bradford J. C. Kerick S. E.. (2014 ). Usability of four commercially-oriented EEG systems. J. Neural Eng. 11, 046018.

    Not in our library10.1088/1741-2560/11/4/046018

  11. 11.

    Hatz F. Hardmeier M. Bousleiman H. Rüegg S. Schindler C. Fuhr P. (2015 ). Reliability of fully automated versus visually controlled pre- and post-processing of resting-state EEG. Clin. Neurophysiol. 126, 268–274.

    Not in our library10.1016/j.clinph.2014.05.014

  12. 12.

    Hu S. Stead M. Dai Q. Worrell G. A. (2010 ). On the recording reference contribution to EEG correlation, phase synchorony, and coherence. IEEE Trans. Syst. Man Cybern. B Cybern. 40, 1294–1304.

    Not in our library10.1109/tsmcb.2009.2037237

  13. 13.

    Keil A. Debener S. Gratton G. Junghöfer M. Kappenman E. S. Luck S. J.. (2014 ). Committee report: publication guidelines and recommendations for studies using electroencephalography and magnetoencephalography. Psychophysiology 51, 1–21.

    Not in our library10.1111/psyp.12147

  14. 14.

    Kerick S. E. Hatfield B. D. Allender L. E. (2007 ). Event-related cortical dynamics of soldiers during shooting as a function of varied task demand. Aviat. Space Environ. Med. 78(Suppl. 5), B153–B164. Available online at: http://www.ingentaconnect.com/content/asma/asem/2007/00000078/A00105s1/art00024?token=00571dd86a5569be709d867232d45232b6d243838425749665676553568293c62207d673f582f6bb060b80e

    Not in our library

  15. 15.

    Kothe C. A. Makeig S. (2013 ). BCILAB: a platform for brain-computer interface development. J. Neural Eng. 10, 056014.

    Not in our library10.1088/1741-2560/10/5/056014

  16. 16.

    Lawhern V. Hairston W. D. Robbins K. (2013 ). DETECT: a MATLAB toolbox for event detection and identification in time series, with applications to artifact detection in eeg signals. PLoS ONE 8:e62944.

    Not in our library10.1371/journal.pone.0062944

  17. 17.

    Liao L.-D. Lin C.-T. McDowell K. Wickenden A. E. Gramann K. Jung T.-P. (2012 ). Biosensor technologies for augmented brain-computer interfaces in the next decades. Proc. IEEE, 100, 1553–1566.

    Not in our library10.1109/jproc.2012.2184829

  18. 18.

    Marathe A. R. Ries A. J. McDowell K. (2014 ). Sliding HDCA: single-trial EEG classification to overcome and quantify temporal variability. IEEE Trans. Neural Syst. Rehabil. Eng. 22, 201–211.

    Not in our library10.1109/tnsre.2014.2304884

  19. 19.

    Margaux P. Emmanuel M. Sébastien D. Olivier B. Jérémie M. (2012 ). Objective and subjective evaluation of online error correction during P300-based spelling. Adv. Hum. Comput. Interact. 2012:e578295

    Not in our library10.1155/2012/578295

  20. 20.

    Mitra P. Bokil H. (2007 ). Observed Brain Dynamics, 1st Edn. Oxford; New York: Oxford University Press

    Not in our library10.1093/acprof:oso/9780195178081.001.0001

  21. 21.

    Mitra P. P. Pesaran B. (1999 ). Analysis of dynamic brain imaging data. Biophys. J. 76, 691–708.

    Not in our library10.1016/s0006-3495(99)77236-x

  22. 22.

    Mognon A. Jovicich J. Bruzzone L. Buiatti M. (2011 ). ADJUST: an automatic EEG artifact detector based on the joint use of spatial and temporal features. Psychophysiology 48, 229–240.

    Not in our library10.1111/j.1469-8986.2010.01061.x

  23. 23.

    Mouček R. Ježek P. Vařeka L. Řondík T. Brůha P. Papež V.. (2014 ). Software and hardware infrastructure for research in electrophysiology. Front. Neuroinform. 8:20.

    Not in our library10.3389/fninf.2014.00020

  24. 24.

    Mullen T. (2012 ). NITRC: CleanLine: Tool/Resource Info. Available online at: http://www.nitrc.org/projects/cleanline (Accessed March 22, 2015).

    Not in our library

  25. 25.

    Mullen T. Kothe C. Chi Y. M. Ojeda A. Kerth T. Makeig S.. (2013 ). Real-time modeling and 3D visualization of source dynamics and connectivity using wearable EEG. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2013, 2184–2187.

    Not in our library10.1109/embc.2013.6609968

  26. 26.

    Nolan H. Whelan R. Reilly R. B. (2010 ). FASTER: fully automated statistical thresholding for EEG artifact rejection. J. Neurosci. Methods 192, 152–162.

    Not in our library10.1016/j.jneumeth.2010.07.015

  27. 27.

    Ortiz-Rosario A. Adeli H. (2013 ). Brain-computer interface technologies: from signal to action. Rev. Neurosci. 24, 537–552.

    Not in our library10.1515/revneuro-2013-0032

  28. 28.

    Perrin F. Pernier J. Bertrand O. Echallier J. F. (1989 ). Spherical splines for scalp potential and current density mapping. Electroencephalogr. Clin. Neurophysiol. 72, 184–187.

    Not in our library10.1016/0013-4694(89)90180-6

  29. 29.

    Ries A. J. Touryan J. Vettel J. McDowell K. Hairston W. D. (2014 ). A comparison of electroencephalography signals acquired from conventional and mobile systems. J. Neurosci. Neuroeng. 3, 10–20.

    Not in our library10.1166/jnsne.2014.1092

  30. 30.

    Rousselet G. A. (2012 ). Does filtering preclude us from studying ERP time-courses? Front. Psychol. 3:131.

    Not in our library10.3389/fpsyg.2012.00131

  31. 31.

    Safieddine D. Kachenoura A. Albera L. Birot G. Karfoul A. Pasnicu A. (2012 ). Removal of muscle artifact from EEG data: comparison between stochastic (ICA and CCA) and deterministic (EMD and wavelet-based) approaches. EURASIP J. Adv. Signal Process. 2012, 127

    Not in our library10.1186/1687-6180-2012-127

  32. 32.

    Schalk G. McFarland D. J. Hinterberger T. Birbaumer N. Wolpaw J. R. (2004 ). BCI2000: a general-purpose brain-computer interface (BCI) system. IEEE Trans. Biomed. Eng. 51, 1034–1043.

    Not in our library10.1109/tbme.2004.827072

  33. 33.

    Scott A. Courtney W. Wood D. De la Garza R. Lane S. Wang R.. (2011 ). COINS: an innovative informatics and neuroimaging tool suite built for large heterogeneous datasets. Front. Neuroinform. 5:33.

    Not in our library10.3389/fninf.2011.00033

  34. 34.

    Sobolev A. Stoewer A. Leonhardt A. Rautenberg P. L. Kellner C. J. Garbers C.. (2014 ). Integrated platform and API for electrophysiological data. Front. Neuroinform. 8:32.

    Not in our library10.3389/fninf.2014.00032

  35. 35.

    Tanner D. Morgan-Short K. Luck S. J. (2015 ). How inappropriate high-pass filters can produce artifactual effects and incorrect conclusions in ERP studies of language and cognition. Psychophysiology. [Epub ahead of print].

    Not in our library10.1111/psyp.12437

  36. 36.

    Vanrullen R. (2011 ). Four common conceptual fallacies in mapping the time course of recognition. Percept. Sci. 2:365.

    Not in our library10.3389/fpsyg.2011.00365

  37. 37.
  38. 38.

    Widmann A. Schröger E. Maess B. (2014 ). Digital filter design for electrophysiological data – a practical approach. J. Neurosci. Methods.

    Not in our library10.1016/j.jneumeth.2014.08.002

Cited by papers we hold 12

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.