Fast estimation and adjustment of TMS electric fields with motion-tracking and a-priori simulations

Poster No:

65 

Submission Type:

Abstract Submission 

Authors:

Sarah Grosshagauer1, Michael Woletz1, Christian Windischberger2

Institutions:

1Medical University of Vienna, Vienna, Austria, 2Medical University of Vienna, Vienna, Vienna

First Author:

Sarah Grosshagauer  
Medical University of Vienna
Vienna, Austria

Co-Author(s):

Michael Woletz  
Medical University of Vienna
Vienna, Austria
Christian Windischberger  
Medical University of Vienna
Vienna, Vienna

Introduction:

Precise control of delivered stimulation is essential for the accuracy and effectiveness of TMS experiments and therapies. We present a methodology which allows fast interpolation of the induced electric fields in a target region, which can be applied e.g. for motion-tracking informed dose adjustments. Compared to previous methods, we a-priori perform simulations in a large volume around the target, which reduces computational effort during adjustments to a minimum and allows incorporation of dose adjustments in a variety of TMS protocols.

Methods:

The developed methodology includes estimating the average E-field magnitude in a defined target ROI (e.g. 5 mm diameter) based on a-priori simulations. To allow for swift simulation of a large number of positions, we applied the fast ADM method (Gomez et al., 2021) as implemented within SimNIBS 4.0 (Thielscher et al., 2015). Sampling is performed in a defined volume of interest (e.g. cylinder, r=20 mm, h=10 mm) centered above a cortical target which should cover the expected range of motion in terms of translation and includes a large variety in possible coil orientations and tilts.
For fast evaluation of the induced E-fields, search trees were constructed for available coil positions of the a-priori sampling using the Euclidean distance as distance metric, as well as for all orientations, using the minimal angle between rotations as distance metric. The E-field is then estimated using an inverse-distance sampling scheme based on the orientations, whose result is subsequently interpolated using a similar scheme based on the positions in a neighborhood.
We validated this algorithm using different sampling schemes and random coil walks within the simulated volume of interest. We performed 100 walks with 100 steps each and compared the interpolation results to full simulations of the respective positions to get an estimate for interpolation accuracy.
Finally, we tested the interpolation algorithm on a motion time course recorded with a healthy male participants during TMS/fMRI applied to the left dorsolateral prefrontal cortex. The experiment included TMS pulses every 30 s and the participant was asked to slightly move their head during specific time windows to create exaggerated motion patterns. Motion of coil and participant was tracked inside the MR scanner using a Polaris camera and 3D printed retro reflective trackers. We extracted coil positions at the TMS triggers and compared the delivered E-field in case of static and adjusted stimulation intensity.

Results:

Based on 10.000 random coil positions, the Pearson correlation of interpolated E-fields vs. full simulations in the target ROI was between 0.828 (low density sampling) and 0.963 (high density sampling), the mean relative error was 7.2% for low density and 2.2% for the tested high density sampling (see figure 1). Time per interpolation on a standard PC is approximately 3 ms per sample. An exemplary motion time course during TMS/fMRI and the respective changes in target E-field are shown in figure 2. It can be clearly seen that using the adjustment method based on the fast interpolation method allows for a significant reduction in E-field variability in the target ROI.
Supporting Image: OHBM2025_adjustTMS_figure1.jpg
Supporting Image: OHBM2025_adjustTMS_figure2.png
 

Conclusions:

The developed algorithm allows to interpolate the E-field induced in the target region with high accuracy and fast speed, also in comparison to previously presented fast E-field calculation methods (Park et al., 2024). This allowed for embedding in a dedicated Python-based software combining motion tracking, interpolation and stimulator communication to adjust intensity. Finally, this enables integration in a concurrent TMS/fMRI setup, where the timing of stimulations is known in advance and stimulation intensity can be adjusted shortly prior to the stimulation. Therefore, this method can also be combined with intermittent Theta Burst protocols, increasing its clinical relevance.

Brain Stimulation:

TMS 1

Modeling and Analysis Methods:

Methods Development 2
Motion Correction and Preprocessing
Other Methods

Keywords:

Transcranial Magnetic Stimulation (TMS)
Other - E-field modelling, motion tracking

1|2Indicates the priority used for review

Abstract Information

By submitting your proposal, you grant permission for the Organization for Human Brain Mapping (OHBM) to distribute your work in any format, including video, audio print and electronic text through OHBM OnDemand, social media channels, the OHBM website, or other electronic publications and media.

I accept

The Open Science Special Interest Group (OSSIG) is introducing a reproducibility challenge for OHBM 2025. This new initiative aims to enhance the reproducibility of scientific results and foster collaborations between labs. Teams will consist of a “source” party and a “reproducing” party, and will be evaluated on the success of their replication, the openness of the source work, and additional deliverables. Click here for more information. Propose your OHBM abstract(s) as source work for future OHBM meetings by selecting one of the following options:

I do not want to participate in the reproducibility challenge.

Please indicate below if your study was a "resting state" or "task-activation” study.

Other

Healthy subjects only or patients (note that patient studies may also involve healthy subjects):

Healthy subjects

Was this research conducted in the United States?

No

Were any human subjects research approved by the relevant Institutional Review Board or ethics panel? NOTE: Any human subjects studies without IRB approval will be automatically rejected.

Yes

Were any animal research approved by the relevant IACUC or other animal research panel? NOTE: Any animal studies without IACUC approval will be automatically rejected.

Not applicable

Please indicate which methods were used in your research:

Structural MRI
TMS
Other, Please specify  -   Electric field modeling

For human MRI, what field strength scanner do you use?

3.0T

Which processing packages did you use for your study?

Other, Please list  -   SimNIBS, Python

Provide references using APA citation style.

Gomez, L. J., Dannhauer, M., & Peterchev, A. V. (2021). Fast computational optimization of TMS coil placement for individualized electric field targeting. NeuroImage, 228, 117696. https://doi.org/10.1016/j.neuroimage.2020.117696
Park, T. Y., Franke, L., Pieper, S., Haehn, D., & Ning, L. (2024). A review of algorithms and software for real-time electric field modeling techniques for transcranial magnetic stimulation. Biomedical Engineering Letters, 14(3), 393–405. https://doi.org/10.1007/s13534-024-00373-4
Thielscher, A., Antunes, A., & Saturnino, G. B. (2015). Field modeling for transcranial magnetic stimulation: A useful tool to understand the physiological effects of TMS? 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), 222–225. https://doi.org/10.1109/EMBC.2015.7318340

UNESCO Institute of Statistics and World Bank Waiver Form

I attest that I currently live, work, or study in a country on the UNESCO Institute of Statistics and World Bank List of Low and Middle Income Countries list provided.

No