Effective correction of extreme capacitive artifacts in TMS-EEG via windowed detrending
Alberto Arturo Vergani, G Peroni, Camilla Bruscagli, Alessia Lionti, Flavia Brandizzi, Matteo Lenge, Giovanni Salvestrini, Diego Jiménez‐Jiménez,
Scuola Superiore Sant'Anna · Meyer Children's Hospital
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TEFAR: a lightweight, configurable framework for semi-automatic artefact component classification in EEG and TMS-EEGbioRxiv · 2026
- Artefact-free EEG during temporal interference stimulation reveals phase-specific modulation of the human visual cortexbioRxiv · 2026
- Deep electric field focusing in temporal interference stimulation: a comparative analysis of TI-tACS and TI-TMS.Electromagnetic biology and medicine · 2026
- A Reproducible Safety Assessment Model for Concurrent Transcranial Magnetic Stimulation with Implanted Intracranial Electroencephalography Electrodes.Brain stimulation · 2026
- Field-Based Characterization of Temporal Interference Stimulation: Beyond the Target-Centric PerspectivebioRxiv · 2026
- Recovering Resting-State EEG During AM-tACS Using Dynamic Adaptive Stimulation Artifact Source Separation.Journal of neural engineering · 2026