: Objective Transcranial Magnetic Stimulation combined with electroencephalography (TMS-EEG) 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. .

Effective correction of extreme capacitive artifacts in TMS-EEG via windowed detrending / Vergani, Alberto Arturo; Peroni, Giulio; Bruscagli, Camilla; Lionti, Alessia; Brandizzi, Flavia; Lenge, Matteo; Salvestrini, Giovanni; Jiménez-Jiménez, Diego; Casarotto, Silvia; Rosanova, Mario; Mazzoni, Alberto; Guerrini, Renzo; Grippo, Antonello; Balestrini, Simona. - In: JOURNAL OF NEURAL ENGINEERING. - ISSN 1741-2552. - ELETTRONICO. - (2026), pp. 0-0. [10.1088/1741-2552/ae668e]

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

Peroni, Giulio;Lionti, Alessia;Brandizzi, Flavia;Lenge, Matteo;Salvestrini, Giovanni;Guerrini, Renzo;Grippo, Antonello;Balestrini, Simona
2026

Abstract

: Objective Transcranial Magnetic Stimulation combined with electroencephalography (TMS-EEG) 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. .
2026
0
0
Vergani, Alberto Arturo; Peroni, Giulio; Bruscagli, Camilla; Lionti, Alessia; Brandizzi, Flavia; Lenge, Matteo; Salvestrini, Giovanni; Jiménez-Jiménez...espandi
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1467992
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact