← Latest papers
📄 bioengineering

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

golgi is an open-source, multi-platform software suite that streamlines the entire workflow of peripheral nerve stimulation modeling—from image-based segmentation and meshing to fiber recruitment simulation—while ensuring verifiable reproducibility and eliminating commercial dependencies.

Original authors: Lung, D., Jia, Y., Moro, A., Fachino, M., Haberbusch, M.

Published 2026-07-13
📖 5 min read🧠 Deep dive

Original authors: Lung, D., Jia, Y., Moro, A., Fachino, M., Haberbusch, M.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you want to build a complex, digital map of a human nerve to send it a specific message, like "stop the heart from racing" or "calm the seizure." For a long time, only a very small club of super-experts could do this. They had to speak a secret language (code), use expensive, locked-up tools (commercial software), and spend years building their models from scratch. If they made a tiny mistake, the whole simulation could march in the wrong direction.

Enter golgi. Think of golgi as a "Lego set for nerve scientists" that finally lets anyone—doctors, biologists, or curious students—build these complex nerve models without needing to be a coding wizard.

The Old Way vs. The New Way

Before golgi, building a nerve model was like trying to bake a cake using a recipe written in a language you don't speak, with ingredients you can only buy from one specific, expensive store. If you wanted to change the frosting, you had to rewrite the whole recipe. The paper argues that this old way was a huge barrier, keeping great ideas locked away from the people who could actually use them to help patients.

golgi flips the script. It offers a graphical interface—basically a colorful, point-and-click screen where you can drag and drop nerve parts, just like playing a video game. But here's the cool part: behind the scenes, it's also a powerful robot that can do the same thing automatically if you want to run thousands of tests at once. It's like having a toy car you can drive yourself, but also a remote control that can drive a whole fleet of them.

How It Works: From Photo to Prediction

The paper describes golgi as a factory line that turns a blurry photo into a crystal-clear prediction of how nerves react. Here is the journey:

  1. The Snapshot: You start with a picture of a nerve (like a micro-CT scan). golgi has a smart helper that can "see" the different layers of the nerve, almost like a magic marker that highlights the inside, the middle, and the outside skin of the nerve bundle.
  2. The 3D Build: It takes that 2D picture and stretches it into a 3D model. It doesn't just make a straight tube; it can build the nerve with all its twists, turns, and branches, just like a real one.
  3. The Mesh: Imagine wrapping the nerve in a net made of tiny, perfect triangles. golgi builds this net automatically, making sure every tiny piece fits perfectly, even around the tricky spots where the nerve splits.
  4. The Electric Storm: Now, imagine you put an electrode (a tiny wire) on the nerve. golgi calculates exactly how the electricity spreads through the wet, squishy tissue. It's like predicting how a drop of dye spreads in a river, but for electricity. It even accounts for the "sticky" layer around the nerve that slows the signal down.
  5. The Fiber Party: Inside the nerve are thousands of tiny wires called fibers. golgi populates the model with realistic fibers of different sizes. Some are straight, but many curve and follow the nerve's twists.
  6. The Big Test: Finally, it asks: "If I zap the nerve here, which fibers wake up?" It runs a simulation to see which fibers get excited and which stay asleep. It can even tell you if you can target just one specific branch of the nerve without waking up its neighbors.

The "Time-Travel" Guarantee

One of the most unique things about golgi is its reproducibility. In science, it's often hard to say, "Hey, I did this experiment exactly the same way you did." golgi solves this by packaging every single study into a special, sealed box called a bundle.

Think of this bundle like a time capsule. It contains the original photo, the 3D model, the math, the results, and even a list of every tool used to build it. It has a special digital fingerprint (a SHA-256 hash) that proves no one touched it. If someone else gets this bundle, they can run a single command to "replay" the entire experiment, and the computer will check every single byte to make sure the results are identical. It's like having a video recording of the experiment that you can watch over and over, knowing it never changes.

What golgi Does (and Doesn't) Do

The paper is very clear about what golgi is: a tool for simulation. It builds models and runs computer tests. It does not claim to cure diseases or replace real-life experiments. Instead, it helps scientists design better experiments and understand how to place electrodes before they ever touch a patient.

The authors show that golgi can handle complex, 3D branching nerves—something older tools struggled with. They used it to simulate stimulating a rabbit's vagus nerve and a human's vagus nerve, showing that it can predict which specific branches get activated. This suggests that in the future, doctors might be able to use these models to figure out exactly how to stimulate a nerve to treat a condition without accidentally triggering the wrong part.

The Bottom Line

golgi is an open-source platform that takes the scary, complicated math of nerve modeling and puts it behind a friendly screen. It removes the need for expensive, locked-up software and lets anyone build, test, and share nerve models. While it is a simulation tool and not a magic cure, it provides a verifiable, reproducible way to explore how electrical stimulation works, potentially opening the door for better treatments for epilepsy, heart issues, and inflammation.

The paper validates this tool against existing benchmarks, showing it works as well as the old, complicated methods but is much easier to use. It's a bridge between the lab and the clinic, built entirely out of open, free code.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →