bioRxiv ScienceSearch

bioRxiv · 10.1101/2020.02.09.941021

A Software Toolkit for TMS Electric-Field Modeling with Boundary Element Fast Multipole Method: An Efficient MATLAB Implementation

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.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Makarov, S. N., Wartman, W. A., Daneshzand, M., Fujimoto, K., Raij, T., Nummenmaa, A.. 2020-02-10. A Software Toolkit for TMS Electric-Field Modeling with Boundary Element Fast Multipole Method: An Efficient MATLAB Implementation. https://doi.org/10.1101/2020.02.09.941021

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Comparative study of chlorophyll measurement in Physcomitrium patens moss using a conventional microscope adapted for combined 2D+1D imaging and spectral analysis

Imaging spectroscopy often requires expensive and complex equipment. Here we show a simple procedure for attaching a standard miniature fiber spectrometer to a conventional microscope, allowing easy integration of 2D imaging with 1D high-resolution spectral measurements. This combination provides much of the benefit of a full imaging spectrometer without the large equipment investment, and we provide instructions for modifying microscopes to this setup and the present measurements of living cells that demonstrate their performance. Using this setup, we compare the quantitative measurement of chlorophyll concentration in Physcomitrium patens moss using color imaging and spectral sampling.

bioengineering

De novo designed single-domain antibodies protect against lethal cobra venom neurotoxicity in vivo

Generative protein design can now rapidly produce de novo binders with high affinity and functional activity against a wide range of targets, including lethal snake venom toxins. However, so far most reported successes rely on new-to-nature scaffolds with limited therapeutic precedent. Single-domain antibodies (VHHs) offer a clinically validated alternative scaffold that can bind and neutralize long-chain -neurotoxins, which are some of the most lethal components in snake venoms. Here we compare three recently established de novo design models with VHH-design capabilities (Germinal, RFantibody, and BoltzGen) for their ability to generate VHHs against the neurotoxin -cobratoxin from the monocled cobra (Naja kaouthia). Using standardized model inputs and evaluation criteria based on AlphaFold3 interface confidence (ipTM) and RMSD self-consistency, we find that Germinal was the only method to generate designs passing stringent in silico criteria for experimental testing. We therefore performed a larger Germinal design campaign employing three different VHH frameworks and experimentally validated 46 designs in vitro. Of these, 42 expressed as soluble proteins and we identified four binding hits derived from two of the three tested frameworks. Of the four binders, two lead candidates were further characterized and demonstrated high affinity (KDs of 4.1 nM and 10.8 nM), monomeric behavior and low polyreactivity, indicating favorable biophysical and developability properties, as well as functional toxin neutralization in vitro. To assess their therapeutic potential we investigated their ability to protect against -cobratoxin toxicity in vivo. Both candidates fully protected mice after -cobratoxin challenge, with 100% survival compared to a lethal control. One candidate also retained notable neutralization capacity against whole venom of Naja kaouthia with a survival of 56%, while the other protected 22% when tested in a rescue setting. Together, we demonstrate that de novo VHH design can generate high affinity single-domain antibodies with in vivo protection against lethal cobra venom neurotoxicity, and provide practical insights into method- and framework-dependent performance.

bioengineering

Simple Feedback for Complex Movement: Capturing Whole-Limb Reorganization during Single-IMU Gait Retraining

Clinical gait retraining typically relies on multi-sensor arrays and high-dimensional feedback displays, imposing setup and interpretation burdens that limit routine clinical deployment. We developed a single-IMU visual biofeedback system that delivers real-time feedback of Lower Limb Trajectory Error (LLTE), a composite kinematic error metric integrating knee position and shank angle across the stance phase. Twenty able-bodied adults walked on a treadmill under two visual biofeedback targets (flexed-knee, extended-knee) while receiving either corrected (n=10) or uncorrected (n=8) feedback, where the correction accounted for limb orientation at initial contact. LLTE and stance-phase knee kinematics adapted consistently under the flexed-knee target for both feedback groups, with feedback formulation moderating the temporal trajectory of change. Adaptation toward the extended-knee target was limited, likely because participants were already operating near terminal knee extension and because the scalar error metric provided limited directional information for correction. Ankle range of motion (ROM) changed significantly across the stance phase under both target conditions, while hip ROM did not. Multiscale multivariate sample entropy (MSMVSE) increased monotonically with time scale across all conditions, with no statistically distinguishable difference between corrected and uncorrected feedback. These results suggest that single-IMU LLTE biofeedback can modify gait mechanics and that adaptation was expressed across multiple lower-limb segments rather than through changes at a single joint.

bioengineering