Transcranial Magnetic Stimulation (TMS) is a non-invasive brain stimulation technique widely used in research and clinical applications. However, its mechanism of action and the neural response to TMS are still poorly understood. Multi-scale modeling can complement experimental research and provide a framework between the physical input parameters and the subcellular neural effects of TMS. At the macroscopic level, sophisticated numerical models exist to estimate the induced electric fields in whole-brain volume conductor models. However, multi-scale computational modeling approaches to predict TMS cellular and subcellular responses, crucial to understanding TMS plasticity inducing protocols, are not available so far. Here, we develop a multi-scale Neuron Modeling for TMS toolbox (NeMo-TMS) that enables researchers to easily generate accurate neuron models from morphological reconstructions, couple them to the external electric fields induced by TMS, and to simulate the cellular and subcellular responses of the neurons. Both single-pulse and rTMS protocols can be simulated and results visualized in 3D. We openly share our toolbox and provide example scripts and datasets for the user to explore. NeMo-TMS toolbox (https://github.com/OpitzLab/NeMo-TMS) allows researchers a previously not available level of detail and precision in realistically modeling the physical and physiological effects of TMS.
bioRxiv Subject Collection: Neuroscience