APICE-Py: An Open-Source MNE-Python Pipeline for Scalable EEG Preprocessing
Formento Moletta, N.; Flo, A.; Dehaene-Lambertz, G.; Lorenzo, J.
Show abstract
Electroencephalography (EEG) is fundamental to cognitive neuroscience as it provides a direct measure of human neural activities with millisecond precision. Its noninvasive nature allows for the study of brain function across diverse age groups and experimental contexts--from newborns to adults, and from tightly controlled laboratory environments to more naturalistic real-world settings. However, EEG signals--especially those recorded from infants--are highly prone to noise and arti-facts, posing significant challenges for data analysis. To address these issues, we present APICE-Py (Automated Preprocessing for Infants Continuous EEG), an open-source preprocessing pipeline originally designed as a matlab toolbox for infant EEG and now re-implemented in Python to support scalable and flexible analysis across developmental and adult datasets. APICE-Py is built upon three core principles: (i) adaptive artifact detection on continuous data using data-driven thresholds rather than fixed cutoffs; (ii) hierarchical artifact correction, combining short-segment correction via Principal Component Analysis (PCA) with broader segment and continuous data correction using Spherical Spline Interpolation (SSI); and (iii)transparent reporting, providing comprehensive quality logs and decision-tracking to ensure reproducibility and informed analysis. We summarize the underlying algorithms, release an implementation compatible with common EEG formats, and demonstrate its use on three datasets spanning neonates, 5-month-old infants, and child-parent hyperscanned data, acquired using high-density wet electrodes and mobile gel-based EEG systems. When benchmarked against the original MATLAB implementation, APICE-Py achieved comparable levels of data quality and trial retention. While the original pipeline was developed for early developmental EEG (e.g., infants), we show that the pipeline further extends its applicability to both children and adult datasets, enabling robust preprocessing across a broad age range. Moreover, it supports data acquired using a variety of EEG configurations and experimental settings, highlighting its flexibility across age groups, hardware systems, and paradigms. The APICE-Py source code and documentation are freely available at https://github.com/neurokidslab/apice-py.
Matching journals
The top 3 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- PyHFO: Lightweight Deep Learning-poweredEnd-to-End High-Frequency Oscillations AnalysisApplication 95%
- Data-driven spatial filtering for improved measurement of cortical tracking of multiple representations of speech 95%
- Effective correction of extreme capacitive artifacts in TMS-EEG via windowed detrending 95%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.