Conditions for numerically accurate TMS electric field simulation

Background Computational simulations of the E-field induced by transcranial magnetic stimulation (TMS) are increasingly used to understand its mechanisms and to inform its administration. However, characterization of the accuracy of the simulation methods and the factors that affect it is lacking. Objective To ensure the accuracy of TMS E-field simulations, we systematically quantify their numerical error and provide guidelines for their setup. Method We benchmark the accuracy of computational approaches that are commonly used for TMS E-field simulations, including the finite element method (FEM), boundary element method (BEM), finite difference method (FDM), and coil modeling methods. Results To achieve cortical E-field error levels below 2%, the commonly used FDM and 1st order FEM require meshes with an average edge length below 0.4 mm, whereas BEM and 2nd (or higher) order FEM require edge lengths below 1.5 mm, which is more practical. Coil models employing magnetic and current dipoles require at least 200 and 3,000 dipoles, respectively. For thick solid-conductor coils and frequencies above 3 kHz, winding eddy currents may have to be modeled. Conclusion BEM, FDM, and FEM methods converge to the same solution. However, FDM and 1st order FEM converge slowly with increasing mesh resolution; therefore, the use of BEM or 2nd (or higher) order FEM is recommended. In some cases, coil eddy currents must be modeled. Both electric current dipole and magnetic dipole models of the coil current can be accurate with sufficiently fine discretization. Funding Research reported in this publication was supported by the National Institute of Mental Health and the National Institute of Neurological Disorders and Stroke of the National Institutes of Health under Award Numbers RF1MH114268 and R01NS088674-S1. The content of current research is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health. HIGHLIGHTS FDM and 1st order FEM with 1.5 mm average mesh edge length have numerical errors above 7%. BEM or 2nd order FEM are most efficient for achieving numerical errors < 2%. Coil wire cross-section must be accounted to achieve E-field errors below < 2%. Coil eddy currents can account for > 2% of E-field when very brief pulses are used.

[1]  D. B. Heppner,et al.  Considerations of quasi-stationarity in electrophysiological systems. , 1967, The Bulletin of mathematical biophysics.

[2]  D. A. Dunnett Classical Electrodynamics , 2020, Nature.

[3]  M. Saunders,et al.  Solution of Sparse Indefinite Systems of Linear Equations , 1975 .

[4]  R. Kress,et al.  Integral equation methods in scattering theory , 1983 .

[5]  D. Wilton,et al.  Potential integrals for uniform and linear source distributions on polygonal and polyhedral domains , 1984 .

[6]  Leslie Greengard,et al.  A fast algorithm for particle simulations , 1987 .

[7]  J. Z. Zhu,et al.  The superconvergent patch recovery and a posteriori error estimates. Part 1: The recovery technique , 1992 .

[8]  Jian-Ming Jin,et al.  The Finite Element Method in Electromagnetics , 1993 .

[9]  Ernst Rank,et al.  The p‐version of the finite element method for domains with corners and for infinite domains , 1990 .

[10]  Carretera de Valencia,et al.  The finite element method in electromagnetics , 2000 .

[11]  Axel Thielscher,et al.  Linking Physics with Physiology in TMS: A Sphere Field Model to Determine the Cortical Stimulation Site in TMS , 2002, NeuroImage.

[12]  L. Gurel,et al.  Investigation of the inaccuracy of the MFIE discretized with the RWG basis functions , 2004, IEEE Antennas and Propagation Society Symposium, 2004..

[13]  L. Gurel,et al.  Improved testing of the magnetic-Field integral equation , 2005, IEEE Microwave and Wireless Components Letters.

[14]  L. Gurel,et al.  Singularity of the magnetic-field Integral equation and its extraction , 2005, IEEE Antennas and Wireless Propagation Letters.

[15]  Olivier D. Faugeras,et al.  A common formalism for the Integral formulations of the forward EEG problem , 2005, IEEE Transactions on Medical Imaging.

[16]  Weng Cho Chew,et al.  Applying divergence-free condition in solving the volume integral equation , 2006 .

[17]  Xavier Tricoche,et al.  Influence of tissue conductivity anisotropy on EEG/MEG field and return current computation in a realistic head model: A simulation and visualization study using high-resolution finite element modeling , 2006, NeuroImage.

[18]  Christophe Geuzaine,et al.  Gmsh: A 3‐D finite element mesh generator with built‐in pre‐ and post‐processing facilities , 2009 .

[19]  Arvid Lundervold,et al.  Evaluation of automated brain MR image segmentation and volumetry methods , 2009, Human brain mapping.

[20]  K. Jokela,et al.  ICNIRP Guidelines GUIDELINES FOR LIMITING EXPOSURE TO TIME-VARYING , 1998 .

[21]  Wiro J. Niessen,et al.  Accuracy and reproducibility study of automatic MRI brain tissue segmentation methods , 2010, NeuroImage.

[22]  Zydrunas Gimbutas,et al.  A numerical algorithm for the construction of efficient quadrature rules in two and higher dimensions , 2010, Comput. Math. Appl..

[23]  Moritz Dannhauer,et al.  Modeling of the human skull in EEG source analysis , 2011, Human brain mapping.

[24]  Philipp Birken,et al.  Numerical Linear Algebra , 2011, Encyclopedia of Parallel Computing.

[25]  Tilo Kircher,et al.  Accuracy and Reliability of Automated Gray Matter Segmentation Pathways on Real and Simulated Structural Magnetic Resonance Images of the Human Brain , 2012, PloS one.

[26]  Akimasa Hirata,et al.  Fast multigrid-based computation of the induced electric field for transcranial magnetic stimulation , 2012, Physics in medicine and biology.

[27]  F. P. Andriulli,et al.  Loop-Star and Loop-Tree Decompositions: Analysis and Efficient Algorithms , 2012, IEEE Transactions on Antennas and Propagation.

[28]  Sarah H. Lisanby,et al.  Fundamentals of transcranial electric and magnetic stimulation dose: Definition, selection, and reporting practices , 2012, Brain Stimulation.

[29]  J. Sarvas,et al.  Bioelectromagnetic forward problem: isolated source approach revis(it)ed , 2012, Physics in medicine and biology.

[30]  Kwang-Hyuk Lee,et al.  Where does transcranial magnetic stimulation (TMS) stimulate? Modelling of induced field maps for some common cortical and cerebellar targets , 2012, Medical & Biological Engineering & Computing.

[31]  Thomas R. Knösche,et al.  Influences of skull segmentation inaccuracies on EEG source analysis , 2012, NeuroImage.

[32]  Dana H. Brooks,et al.  A pipeline for the simulation of transcranial direct current stimulation for realistic human head models using SCIRun/BioMesh3D , 2012, 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[33]  D F Stegeman,et al.  The influence of sulcus width on simulated electric fields induced by transcranial magnetic stimulation , 2013, Physics in medicine and biology.

[34]  Alexander Opitz,et al.  Electric field calculations in brain stimulation based on finite elements: An optimized processing pipeline for the generation and usage of accurate individual head models , 2013, Human brain mapping.

[35]  Aapo Nummenmaa,et al.  Comparison of spherical and realistically shaped boundary element head models for transcranial magnetic stimulation navigation , 2013, Clinical Neurophysiology.

[36]  S. Lisanby,et al.  Electric field depth–focality tradeoff in transcranial magnetic stimulation: Simulation comparison of 50 coil designs , 2013, Brain Stimulation.

[37]  M. Ridding,et al.  Transcranial electric and magnetic stimulation: technique and paradigms. , 2013, Handbook of clinical neurology.

[38]  Akimasa Hirata,et al.  Effects of coil orientation on the electric field induced by TMS over the hand motor area , 2014, Physics in medicine and biology.

[39]  F. Andriulli,et al.  On an indirect boundary element method for the anisotropic EEG forward problem , 2015, 2015 9th European Conference on Antennas and Propagation (EuCAP).

[40]  Lari M. Koponen,et al.  Minimum-energy Coils for Transcranial Magnetic Stimulation: Application to Focal Stimulation , 2015, Brain Stimulation.

[41]  Axel Thielscher,et al.  Field modeling for transcranial magnetic stimulation: A useful tool to understand the physiological effects of TMS? , 2015, 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[42]  Stephan F. Taylor,et al.  Uncertainty Quantification in Transcranial Magnetic Stimulation via High-Dimensional Model Representation , 2015, IEEE Transactions on Biomedical Engineering.

[43]  Francesco P. Andriulli,et al.  Conforming Discretizations of Boundary Element Solutions of the Electroencephalography Forward Problem , 2016, 1603.06283.

[44]  Rajendra Mitharwal,et al.  Two volume integral equations for the inhomogeneous and anisotropic forward problem in electroencephalography , 2017, J. Comput. Phys..

[45]  Lucas C. Parra,et al.  Realistic volumetric-approach to simulate transcranial electric stimulation—ROAST—a fully automated open-source pipeline , 2017, bioRxiv.

[46]  Z. Deng,et al.  The development and modelling of devices and paradigms for transcranial magnetic stimulation , 2017, International review of psychiatry.

[47]  Cornelis A T van den Berg,et al.  How much detail is needed in modeling a transcranial magnetic stimulation figure-8 coil: Measurements and brain simulations , 2017, PloS one.

[48]  Sergey N. Makarov,et al.  A Quasi-Static Boundary Element Approach With Fast Multipole Acceleration for High-Resolution Bioelectromagnetic Models , 2018, IEEE Transactions on Biomedical Engineering.

[49]  Angel V Peterchev,et al.  Design of transcranial magnetic stimulation coils with optimal trade-off between depth, focality, and energy. , 2018, Journal of neural engineering.

[50]  Jacob K. White,et al.  VoxHenry: FFT-Accelerated Inductance Extraction for Voxelized Geometries , 2018, IEEE Transactions on Microwave Theory and Techniques.

[51]  Robert Oostenveld,et al.  The Discontinuous Galerkin Finite Element Method for Solving the MEG and the Combined MEG/EEG Forward Problem , 2018, Front. Neurosci..

[52]  Joseph J Tharayil,et al.  Redesigning existing transcranial magnetic stimulation coils to reduce energy: application to low field magnetic stimulation , 2018, Journal of neural engineering.

[53]  Karl Rupp,et al.  Vectorized Parallel Sparse Matrix-Vector Multiplication in PETSc Using AVX-512 , 2018, ICPP.

[54]  Eric Michielssen,et al.  The ICVSIE: A General Purpose Integral Equation Method for Bio-Electromagnetic Analysis , 2018, IEEE Transactions on Biomedical Engineering.

[55]  Guilherme B. Saturnino,et al.  Comparative performance of the finite element method and the boundary element fast multipole method for problems mimicking transcranial magnetic stimulation (TMS) , 2018, bioRxiv.