Effective correction of extreme capacitive artifacts in TMS-EEG via windowed detrending

Read full text
Authors: Alberto Arturo Vergani, G Peroni, Camilla Bruscagli, Alessia Lionti, Flavia Brandizzi, Matteo Lenge, Giovanni Salvestrini, Diego Jiménez‐Jiménez, Silvia Casarotto, Mario Rosanova, Alberto Mazzoni, Renzo Guerrini
+2 more Antonello Grippo, Simona Balestrini
Cited by: 1
References: 75

Abstract

Abstract Objective. transcranial magnetic stimulation (TMS) combined with electroencephalography enables non-invasive assessment of cortical excitability and connectivity through TMS-evoked potentials (TEPs), but it is highly susceptible to artifacts that can obscure genuine neural activity. Among these, capacitive artifacts at the electrode-scalp interface are particularly challenging as they can dominate the post-stimulus signal with sharp voltage deflections and long-lasting drifts. This study evaluated the effectiveness of windowed detrending methods for correcting capacitive artifacts, especially when online hardware mitigation is insufficient. Approach. we systematically compared non-windowed detrending models against windowed approaches that separately model the rise (charging) and decay (discharging) phases of the artifact. We applied these methods to multiple datasets acquired across two centers using different hardware configurations. Performance was benchmarked against a cleaning strategy based on independent component analysis (ICA), spanning mild to extreme capacitive artifact conditions. Main results. ICA effectively corrected mild artifacts but was inadequate in moderate-to-severe cases, often suppressing physiological components or leaving substantial residual contamination. In contrast, model-based detrending, particularly windowed methods, robustly corrected extreme artifacts. Temporal segmentation improved parameter estimation and removal of nonlinear trends. Among the tested methods, windowed polynomial detrending showed a slight advantage, likely due to its greater flexibility in capturing complex artifact shapes. Significance. although optimal TMS-compatible hardware and rigorous online prevention remain essential, windowed detrending provides a robust offline correction strategy when severe capacitive artifacts persist. This approach improves data quality and supports more reliable interpretation of TEPs in studies where ideal acquisition conditions cannot be fully achieved.

Fields of Study & Subjects

Transcranial Magnetic Stimulation Studies EEG and Brain-Computer Interfaces Functional Brain Connectivity Studies

Publication details

Journal / source
Journal of Neural Engineering
Publisher
IOP Publishing
Volume
23
Issue
3
Pages
036009–036009
Publication date
29 April 2026
Language
EN