bioRxivBioengineering
A Software Toolkit for TMS Electric-Field Modeling with Boundary Element Fast Multipole Method: An Efficient MATLAB Implementation
S. N. Makarov, W. A. Wartman, M. Daneshzand, K. Fujimoto, T. Raij, A. Nummenmaa
Abstract
BackgroundTranscranial magnetic stimulation (TMS) is currently the only non-invasive neurostimulation modality that enables painless and safe supra-threshold stimulation by employing electromagnetic induction to efficiently penetrate the skull. Accurate, fast, and high resolution modeling of the electric fields (E-fields) may significantly improve individualized targeting and dosing of TMS and therefore enhance the efficiency of existing clinical protocols as well as help establish new application domains. ObjectiveTo present and disseminate our TMS modeling software toolkit, including several new algorithmic developments, and to apply this software to realistic TMS modeling scenarios given a high-resolution model of the human head including cortical geometry and an accurate coil model. MethodThe recently developed charge-based boundary element fast multipole method (BEM-FMM) is employed as an alternative to the 1st order finite element method (FEM) most commonly used today. The BEM-FMM approach provides high accuracy and unconstrained field resolution close to and across cortical interfaces. Here, the previously proposed BEM-FMM algorithm has been improved in several novel ways. Results and ConclusionsThe improvements resulted in a threefold increase in computational speed while maintaining the same solution accuracy. The computational code based on the MATLAB(R) platform is made available to all interested researchers, along with a coil model repository and examples to create custom coils, head model repository, and supporting documentation. The presented software toolkit may be useful for post-hoc analyses of navigated TMS data using high-resolution subject-specific head models as well as accurate and fast modeling for the purposes of TMS coil/hardware development.
- organism: human
- assay: electrophysiology
- research focus: software / tool
- approach: deep learning
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Comparative Performance of the Finite Element Method and the Boundary Element Fast Multipole Method for Problems Mimicking Transcranial Magnetic Stimulation (TMS)
A. T. Htet, G. B. Saturnino, … S. N. Makarov·bioRxiv·Dec 21, 2018
- Software Toolkit for Fast High-Resolution TMS Modeling
Sergey N. Makarov, Gregory M. Noetscher, … Aapo R. Nummenmaa·bioRxiv·May 20, 2019
- Fast FEM-based Electric Field Calculations for Transcranial Magnetic Stimulation
Fang Cao, Kristoffer Hougaard Madsen, … Axel Thielscher·Journal of Neural EngineeringPeer-reviewed·May 12, 2025
- Conditions for numerically accurate TMS electric field simulation
L. Gomez, M. Dannhauer, … A. V. Peterchev·bioRxiv·Dec 25, 2018
- Efficient Electric Field Simulations for Transcranial Brain Stimulation
G. Bicalho Saturnino, K. H. Madsen, A. Thielscher·bioRxiv·Feb 5, 2019
- Real-time computation of the TMS-induced electric field in a realistic head model
Matti Stenroos, Lari M. Koponen·NeuroImagePeer-reviewed·Sep 5, 2019