31 August 2022 in Journal of Neuroscience Methods
Neuronal electroencephalography (EEG) signals arise from the cortical postsynaptic currents. Due to the conductive properties of the head, these neuronal sources produce relatively smeared spatial patterns in EEG. We can model these topographies to deduce which signals reflect genuine TMS-evoked cortical activity and which data components are merely noise and artifacts. This review will concentrate on two source-based artifact-rejection techniques developed for TMS-EEG data analysis, signal-space-projection-source-informed reconstruction (SSP-SIR), and the source-estimate-utilizing noise-discarding algorithm (SOUND). The former method was designed for rejecting TMS-evoked muscle artifacts, while the latter was developed to suppress noise signals from EEG and magnetoencephalography (MEG) in general. We shall cover the theoretical background for both methods, but most importantly, we will describe some essential practical perspectives for using these techniques effectively. We demonstrate and explain what approaches produce the most reliable inverse estimates after cleaning the data or how to perform non-biased comparisons between cleaned datasets. All noise-cleaning algorithms compromise the signals of interest to a degree. We elaborate on how the source-based methods allow objective quantification of the overcorrection. Finally, we consider possible future directions. While this article concentrates on TMS-EEG data analysis, many theoretical and practical aspects, presented here, can be readily applied in other EEG/MEG applications. Overall, the source-based cleaning methods provide a valuable set of TMS-EEG preprocessing tools. We can objectively evaluate their performance regarding possible overcorrection. Furthermore, the overcorrection can always be taken into account to compare cleaned datasets reliably. The described methods are based on current electrophysiological and anatomical understanding of the head and the EEG generators; strong assumptions of the statistical properties of the noise and artifact signals, such as independence, are not needed.
31 October 2025 in NeuroImage
Transcranial magnetic stimulation (TMS) combined with electroencephalography (EEG) and electromyography (EMG) provides a unique window into instantaneous cortical and corticospinal excitability states. We investigated 50 healthy participants to determine how fluctuations in pre-stimulus brain activity influence single-trial TMS-evoked potentials (TEPs) and motor-evoked potentials (MEPs). We developed a novel automated source-level TEP extraction method using individualized spatiotemporal priors that is robust against poor single-trial signal-to-noise ratios (SNRs) and ongoing oscillations. TEP and MEP amplitudes were predicted with linear mixed-effects models based on pre-stimulation EEG band-powers (theta to gamma), while accounting for temporal drifts (within-session trends), coil control, and inter-subject differences. We found that higher pre-stimulus sensorimotor alpha, beta, and gamma power were each associated with larger TEPs, indicating a more excitable cortical state. Increases in alpha and gamma power immediately before stimulation specifically predicted larger MEPs, reflecting increased corticospinal excitability. These results reveal relationships between ongoing oscillatory brain states and TMS response amplitudes, identifying EEG biomarkers of high- and low-excitability states. In conclusion, our study demonstrates the feasibility of single-trial source-level TMS-EEG analysis and shows that spontaneous alpha-, beta-, and gamma-band oscillations modulate motor cortical and corticospinal responsiveness. These findings can contribute to EEG-informed, brain-state-dependent TMS protocols in optimizing neuromodulatory interventions in clinical and research applications.
18 February 2026 in bioRxiv
Interictal epileptiform discharges (IEDs) are pathological hypersynchronous bursts of electrical brain activity that occur between seizures in patients with epilepsy. IEDs are caused by transient brain states that are difficult to predict, making them a challenging neurophysiological and technological case for brain-state-dependent stimulation. Administering stimulation at IED onset may provide insight into the epileptic network and optimize neurostimulation therapies. Here, we assessed the feasibility of IED-triggered transcranial magnetic stimulation (TMS) in two children with self-limited epilepsy with centrotemporal spikes (SeLECTS), a common pediatric epilepsy in which IEDs emerge from the motor cortex. A convolutional neural network (CNN) was trained on the participants’ pre-recorded electroencephalography (EEG) data with IEDs annotated by an epileptologist. The CNN was integrated into an EEG-processing pipeline that classified EEG segments as “IED” or “non-IED” in real time. With this pipeline, TMS pulses were administered during IED or non-IED periods in an interleaved, randomized design. We stimulated both the motor cortex generating the IEDs and the contralateral motor cortex and tested the impact of IEDs on TMS-evoked potentials (TEPs). Our study demonstrated that TMS can be timed to IEDs and that there is a site-specific increase in TEP amplitude when stimulating during IEDs. Out of the TMS pulses aimed at an IED, 39% and 19% were successfully delivered during an IED for the two participants, respectively. For future research, we propose ways to address the methodological challenges of IED-timed TMS, enabling brain-state-dependent TMS for epilepsy research and treatment.
1 November 2021 in Brain Stimulation