Monday, October 5, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

New open-source platform brings nerve stimulation modeling to the masses

October 5, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 5 mins read
0
New open-source platform brings nerve stimulation modeling to the masses

New open-source platform brings nerve stimulation modeling to the masses

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Electrical stimulation of peripheral nerves has quietly become one of the most versatile tools in modern medicine, treating conditions that range from epilepsy to inflammatory and cardiovascular disease. Yet deciding precisely where to place an electrode on a nerve, and how to shape the electrical pulse it delivers, has long depended on computational models that few experimentalists and clinicians could actually build. A newly released open-source software package called golgi aims to change that, offering an end-to-end pipeline that takes a segmented image of a nerve and produces, without a single line of code, a prediction of which nerve fibers will be activated by a given stimulus.

The software, described in the journal SoftwareX by David Lung, Yuting Jia, Andrea Moro, Matteo Fachino and Max Haberbusch of the Medical University of Vienna, packages the entire workflow of nerve stimulation modeling into a single graphical application. Users can import a micro-computed tomography image of a nerve, segment its internal fascicles with an integrated promptable artificial intelligence engine, reconstruct a three-dimensional geometry, mesh it, solve the electromagnetic field problem, populate the nerve with realistic fiber populations, and compute activation thresholds. Every step that can be performed through the browser-based interface is mirrored in a Python API and a command-line interface, so the same study can be run interactively on a laptop or batch-submitted to a high-performance computing cluster.

The technical core of golgi is a finite-element solver built on the open-source FEniCSx/DOLFINx stack with the PETSc linear algebra library. The software solves the quasi-static volume-conductor equation for the electric potential in the tissue, treating the endoneurium as an anisotropic conducting medium and the perineurium, the thin sheath that wraps each fascicle, as a contact impedance that couples the interior and exterior subproblems. A conforming tetrahedral mesh generated by Gmsh, with TetGen as a fallback, resolves every anatomical region separately: endoneurium, epineurium, electrode contacts, insulating cuff, saline gap and surrounding muscle. Because the coupled block system is factorized once with the direct solver MUMPS, the per-contact lead fields can be computed a single time and superposed, meaning that multi-contact electrode montages and current-steering experiments require no additional field solves.

Once the field is known, golgi generates populations of nerve fibers drawn from species- and nerve-specific statistics of diameter and fiber type, covering myelinated A and B fibers as well as unmyelinated C fibers. Unusually for software in this field, the fibers need not run straight along the nerve axis. The package integrates streamlines of a quasi-static field through the branching endoneurium, producing smooth curved trajectories that follow fascicles through bifurcations. The extracellular potential sampled along each trajectory then drives validated biophysical axon models, including the widely used MRG model for myelinated fibers and the Sundt and Tigerholm models for unmyelinated ones, executed through the NEURON simulation environment via the PyFibers package. Activation thresholds are found by bisection on the stimulus amplitude, and an optional GPU-accelerated surrogate called AxonML can replace NEURON for high-throughput parameter sweeps.

Reproducibility receives unusual attention. Every stage of a golgi study is recorded in a directed acyclic graph of inputs and outputs, each hashed with SHA-256. When a study is exported, the resulting self-contained bundle carries a manifest listing the hash of every file, the software version and a frozen dependency list. A recipient can run a single command, golgi replay, which re-hashes the bundle and either certifies that the results are the unmodified outputs of the recorded inputs and environment or names the first file that differs. The developers are careful to note that this is an integrity and provenance check rather than a re-execution of the computation, since bitwise identity of finite-element and NEURON outputs across different machines is not guaranteed.

Performance figures reported for a reference study, a synthetic monofascicular nerve meshed with 2.88 million tetrahedra and simulated with twelve MRG fibers, show a total wall time of roughly ten minutes on an Apple silicon desktop workstation, with mesh generation and the direct factorization dominating the cost. The threshold sweep scales linearly with fiber count at about ten seconds per fiber, so a ninety-nine-fiber population requires around sixteen minutes of fiber simulation. Models with tens of millions of elements are intended for the high-performance computing path, where heavy stages can be submitted as SLURM jobs while the interface remains responsive.

The validation results are striking for a fully open stack. Against an analytic solution for a current monopole in a grounded saline cylinder, golgi’s field solver achieved a near-field mean error of 0.5 percent, actually outperforming the commercial COMSOL solver at 1.3 percent. For an idealized cuff electrode with anisotropic endoneurium and perineurium contact impedance, and for an image-derived swine cervical vagus nerve with a multi-contact cuff, point-wise deviations from COMSOL lead fields were 2.6 percent and 1.9 percent respectively, with coefficients of determination of at least 0.98. Simulated conduction velocities of MRG fibers between 5.7 and 16 micrometers fell within 3 percent of the published values across all eight diameters tested, and the computed strength-duration relation yielded a rheobase of 48 microamps and a chronaxie of 151 microseconds, consistent with the classical Weiss-Lapicque law.

Comparisons with experimental data reinforce the picture. For a dog cervical vagus nerve stimulated with a bipolar cuff, golgi reproduced the correct in vivo recruitment order across A, B and C fiber classes, with A and C fiber thresholds falling within the experimentally recorded range, although B fiber thresholds were underestimated by roughly a factor of two. For longitudinal intrafascicular electrodes, simulated fifty-percent recruitment currents of 53 and 90 microamps at pulse durations of 50 and 20 microseconds landed within both the in vivo bands and the predictions of the scriptable NRV framework, with a strength-duration ratio of 2.0 against experimental values of 2.1. A five-fascicle nerve with a circumferential cuff produced per-fascicle thresholds inside the published 0.1 to 1.5 milliamp range.

The practical implications extend beyond convenience. Because golgi reconstructs three-dimensional nerves with curved, fascicle-following trajectories through bifurcations, it can address questions that straight-fiber, cross-section-only tools cannot, such as whether a specific branch of the vagus nerve, for example the cardiac branch, can be selectively engaged. A companion study applying the pipeline to cohorts of image-derived swine and human vagus nerves, along with branching rabbit and human nerves, found that selective activation of a vagal cardiac branch depends on subject-specific anatomy, a finding with direct relevance to bioelectronic medicine. The software is released under the AGPL-3.0 license, with a Docker image and pinned conda environment ensuring that any recipient can recreate the exact computational stack.

The developers are candid about the limitations. Golgi is research software, not a clinical diagnostic or treatment-planning tool, and its predictions inherit the assumptions of the underlying models. The promptable segmentation engine is a third-party model whose accuracy on nerve imaging has not been characterized by the team, so segmentations should be reviewed by an expert before meshing. Tissue conductivities are literature values with substantial spread, and their uncertainty is not propagated to the computed thresholds, meaning sensitivity analyses remain the user’s responsibility. Absolute activation thresholds depend on the chosen axon model and are least reliable outside its calibration range, even though recruitment order is robust. Still, with its graphical interface, verified exports and open solver stack, golgi lowers a barrier that has kept anatomically realistic nerve modeling out of reach for many of the researchers who need it most.

Subject of Research: Open-source computational modeling of electrical stimulation of peripheral nerves

Article Title: golgi: open-source software for automated nerve model generation and recruitment simulation

Article References: Lung, D., Jia, Y., Moro, A., Fachino, M., & Haberbusch, M. (2026). golgi: open-source software for automated nerve model generation and recruitment simulation. SoftwareX, 36, Article 103094. https://doi.org/10.1016/j.softx.2026.103094

Image Credits: AI Generated

DOI: 10.1016/j.softx.2026.103094

Keywords: peripheral nerve stimulation, computational modeling, open-source software, finite-element method, vagus nerve stimulation, neural engineering, bioelectronic medicine, axon models, reproducibility, FEniCSx, NEURON, nerve recruitment

Cite Scienmag News

Denise Maddox. (October 5, 2026). New open-source platform brings nerve stimulation modeling to the masses. Scienmag. https://scienmag.com/new-open-source-platform-brings-nerve-stimulation-modeling-to-the-masses/

Denise Maddox. "New open-source platform brings nerve stimulation modeling to the masses." Scienmag, 5 October 2026, https://scienmag.com/new-open-source-platform-brings-nerve-stimulation-modeling-to-the-masses/. Accessed 5 October 2026.

Denise Maddox. "New open-source platform brings nerve stimulation modeling to the masses." Scienmag. October 5, 2026. https://scienmag.com/new-open-source-platform-brings-nerve-stimulation-modeling-to-the-masses/

Tags: 3D nerve geometry reconstructionaxon modelsBioelectronic Medicinebrowser-based medical modeling toolscomputational modelingcomputational models for nerve stimulationelectrode placement optimizationelectromagnetic field simulation in nervesend-to-end nerve stimulation pipelineFEniCSxfinite element methodmedical imaging segmentation AImicro-CT nerve imaging analysisnerve fiber activation predictionnerve recruitmentnerve stimulation modelingNeural EngineeringNEURONopen-source medical softwareopen-source softwareperipheral nerve electrical stimulationperipheral nerve stimulationreproducibilityvagus nerve stimulation
Share26Tweet16
Previous Post

Unpredictable Childhoods May Fuel Problematic Pornography Use in University Students, Study Finds

Next Post

Dug Wells and Crowded Cities: New Model Maps Fecal Contamination Risk in Indonesian Groundwater

Related Posts

New AI Framework Lets Users Steer Image Generation With Text, Sketches and Feedback
Technology and Engineering

New AI Framework Lets Users Steer Image Generation With Text, Sketches and Feedback

October 5, 2026
Capped Helical J-Shaped Blades Give Vertical-Axis Wind Turbines a Powerful Boost
Technology and Engineering

Capped Helical J-Shaped Blades Give Vertical-Axis Wind Turbines a Powerful Boost

October 5, 2026
China’s AI Ambitions Collide With Its Own Climate Promises, Study Warns
Technology and Engineering

China’s AI Ambitions Collide With Its Own Climate Promises, Study Warns

October 5, 2026
Hybrid AI with driving-inspired optimizer boosts wind power forecasts by 12.7%
Technology and Engineering

Hybrid AI with driving-inspired optimizer boosts wind power forecasts by 12.7%

October 5, 2026
Natural Clay Nanotubes Shield Concrete From Sulfate Attack at a Fraction of the Cost
Technology and Engineering

Natural Clay Nanotubes Shield Concrete From Sulfate Attack at a Fraction of the Cost

October 5, 2026
New Spatial Transcriptomics Tool Maps Gene Expression Across Tissue Boundaries in the Developing Mouse Brain
Technology and Engineering

New Spatial Transcriptomics Tool Maps Gene Expression Across Tissue Boundaries in the Developing Mouse Brain

October 5, 2026
Next Post
Dug Wells and Crowded Cities: New Model Maps Fecal Contamination Risk in Indonesian Groundwater

Dug Wells and Crowded Cities: New Model Maps Fecal Contamination Risk in Indonesian Groundwater

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Diabetes Drugs May Boost Survival After Brain Injury Surgery, Study Suggests
  • Slow Walking and Fuzzy Thinking Together Reveal Who Will Fall After 90
  • Dug Wells and Crowded Cities: New Model Maps Fecal Contamination Risk in Indonesian Groundwater
  • New open-source platform brings nerve stimulation modeling to the masses

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading