Related Experiment Video
Updated: May 28, 2025

An Electrophysiology Protocol to Measure Reward Anticipation and Processing in Children
Published on: October 4, 2018
ER-detect: A pipeline for robust detection of early evoked responses in BIDS-iEEG electrical stimulation data
Max A van den Boom1, Nicholas M Gregg2, Gabriela Ojeda Valencia3
1Department of Physiology and Biomedical Engineering, Mayo Clinic, Rochester, MN, USA; Department of Neurosurgery, Mayo Clinic, Rochester, MN, USA.
Background:
Human brain connectivity can be measured in different ways. Intracranial EEG (iEEG) measurements during single pulse electrical stimulation provide a unique way to assess the spread of electrical information with millisecond precision. However, the methods used for the detection of responses in cortico-cortical evoked potential (CCEP) data vary across studies, from visual inspection with manual annotation to a variety of automated methods.
New Method:
To provide a robust workflow to process CCEP data and detect early evoked responses in a fully automated and reproducible fashion, we developed the Early Response (ER)-detect toolbox. ER-detect is an open-source Python package and Docker application to preprocess BIDS structured iEEG data and detect early evoked CCEP responses. ER-detect can use three early response detection methods, which were validated against 14 manually annotated CCEP datasets from two different clinical sites by four independent raters.
Results And Comparison With Existing Methods:
ER-detect's automated detection performed on par with the inter-rater reliability (Cohen's Kappa of ∼0.6). Moreover, ER-detect was optimized for processing large CCEP datasets, to be used in conjunction with other connectomic investigations.
Conclusion:
ER-detect provides a highly efficient standardized workflow such that iEEG-BIDS data can be processed in a consistent manner and enhance the reproducibility of CCEP based connectivity results for both research and clinical purposes.

