The rt-TEP tool: real-time visualization of TMS-evoked potentials to maximize cortical activation and minimize artifacts
Background The impact of transcranial magnetic stimulation (TMS) on cortical neurons is currently hard to predict based on a priori biophysical and anatomical knowledge alone. This problem can hamper the reliability and reproducibility of protocols aimed at measuring electroencephalographic (EEG) responses to TMS. New Method We introduce and release a novel software tool to facilitate and standardize the acquisition of TMS-evoked potentials (TEPs). The tool, rt-TEP (real-time TEP), interfaces with different EEG amplifiers and offers a series of informative visualization modes to assess in real time the immediate impact of TMS on the underlying neuronal circuits. Results We show that rt-TEP can be used to abolish or minimize magnetic and muscle artifacts contaminating the post-stimulus period thus affording a clear visualization and quantification of the amplitude of the early (<50 ms) EEG response after averaging a limited number of trials. This real-time readout can then be used to adjust TMS parameters (e.g. site, orientation, intensity) and experimental settings (e.g. loudness and/or spectral features of the noise masking) to ultimately maximize direct cortical effects over the undesired sensory effects of the coil's discharge. Comparison with Existing Methods The ensemble of real-time visualization modes of rt-TEP are not implemented in any current commercial software and provide a key readout to titrate TMS parameters beyond the a priori information provided by anatomical models. Conclusions Real-time optimization of stimulation parameters with rt-TEP can facilitate the acquisition of reliable TEPs with a high signal-to-noise ratio and improve the standardization and reproducibility of data collection across laboratories.