PyFibers: An open-source NEURON-Python package to simulate responses of model nerve fibers to electrical stimulation
Fig 3
Construction of a model fiber in PyFibers.
A) For homogeneous fibers (e.g., unmyelinated fibers), the fiber model includes a single set of mechanisms and ultrastructure that is repeated for the instructed number of sections. B) Fibers with multiple types of sections (e.g., MRG as shown) have a repeating series of sections with heterogeneous membrane mechanisms and ultrastructure, defined in the model as a sequence from one node until just before the next node. This sequence is repeated to one less than the instructed number of nodes, and a node is added to the end of the fiber for symmetry. Example shown: MRG model fiber with 4 nodes and 11 sections per node, resulting in a final section count of nsections = (nnodes − 1)*11 + 1 = (4 − 1) * 11 + 1 = 34. Figure is not to scale.