The500Feed.Live

Everything going on in AI - updated daily from 500+ sources

← Back to The 500 Feed
📄 ResearchJuly 27, 2026

APICE-Py: An Open-Source MNE-Python Pipeline for Scalable EEG Preprocessing

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 artifacts, 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.

Read Original Article →

Source

https://www.biorxiv.org/content/10.64898/2026.07.23.740250v1?rss=1