Related Experiment Video
Updated: Jan 8, 2026

Computational Modeling of Retinal Neurons for Visual Prosthesis Research - Fundamental Approaches
Published on: June 21, 2022
PyFibers: An open-source NEURON-Python package to simulate responses of model nerve fibers to electrical stimulation
Daniel P Marshall1, Elie S Farah1,2, Eric D Musselman1
1Department of Biomedical Engineering, Duke University, Durham, North Carolina, United States of America.
Abstract:
Computational modeling of peripheral nerve fibers is a key tool for designing improved neuromodulation therapies. The NEURON software is commonly used to create biophysical simulations of nerve fibers, often in the outdated HOC language. Whether written in HOC or Python, implementing fiber simulations involves a steep learning curve and requires a large amount of standard, boilerplate code that is typically written anew for each project. There is a need for a code package that standardizes and simplifies the creation of model fibers, the execution of simulations of electrical stimulation, and the analysis of the resulting data. We created PyFibers, a NEURON-Python package that provides tools for accomplishing all these tasks and supports the development of new fiber models and stimulation protocols. PyFibers includes 11 fiber models from prior publications under a shared framework, and we validated each model's implementation in PyFibers against the original results. Our open-source tool simplifies and standardizes computational modeling of peripheral nerve fiber responses to electrical stimulation, providing a platform for the development of novel therapies using electrical stimulation, block, and recording.
Related Concept Videos
Electrical Synapses
Gap junctions allow the current to pass directly from one cell to the next. In contrast, in the chemical synapse, the neurotransmitters carry the information through the synaptic cleft from one neuron to the next. They consist of two...
Local Anesthetics: Differential Sensitivity of Nerve Fibers

