Towards model-based characterization of individual electrically stimulated nerve fibers.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Markdown · 96 lines · 5.1 KB · CC-BY-4.0
- -------------------------------------------------------------------------------------------------
- (c) 2025 Rebecca C. Felsheim, David J. Sly, Stephen J. O'Leary, Mathias Dietz
- This file is part of the repository providing the code for optimizing the parameters the aLIFP model
- such that the behavior of an individual nerve fiber can be simulated.
- This code is free software: you can redistribute it and/or modify it under the terms of the
- CC BY 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/
- The code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Please cite
- Felsheim RC, Sly DJ, O'Leary SJ, Dietz M (2026), Towards model-based characterization of
- individual electrically stimulated nerve fibers, PLoS Computational Biology
- -------------------------------------------------------------------------------------------------
- This repository contains the code for the work of Felsheim et al. (2026). It is an optimization
- procedure that adjusts the parameters of the adaptive leaky-integrate and firing probability (aLIFP)
- model (Felsheim and Dietz, 2024) such that the behavior of every individual nerve fiber in the dataset
- from Heffer et al. (2010) is simulated. This results in one parameter set per nerve fiber. This
- repository contains the code to run the parameter optimization (fit_main, fit_stages/) and code to
- evaluate the sucess of the fits (plot_functions/, support_functions/). Additionally the parameters
- which form the basis of the evaluation in the publication of Felsheim et al. (2026) are provided
- in optimized_parameters/.
- To run the evaluations the aLIFP model and the data are required. For the optimization, additionally,
- the optimizer BADS needs to be downloaded. A list pointing to the respective repositories can be
- found below.
- For questions please contact [email hidden]
- # Repository structure
- - fit_main: main fit function
- - fit_stages/ contains the individual stages required for the fitting, they need to be run
- in the following order
- 1. fit_spike_probability_data.m
- 2. fit_latency_jitter_data.m
- 3. fit_short_term_interaction_data.m
- 4. refit_latency.m
- 5. fit_long_term_interaction_data.m
- - optimized_parameters/ contains the optimized parameters in four folders
- - default_fit/ the default fitted parameters (fitted on 200pps, 1000pps, 2000pps)
- - refit_parameter_certainty/ the parameters 20 fit repetitiions of the two fibers, these were
- used to evaluate the parameter certainty
- - refit_with_5000/ fit of 10 fibers that includes also the 5000 pps data
- - refit_with_5000_without_1000/ fit of the same 10 fibers as above but this time fitted on
- 200 pps, 2000 pps, 5000 pps
- naming scheme for all fitted parameters: YYDDMM_hhmm_parameters_LH-AAA_FFF_repX.mat
- - the date and time give the time point when the optimization script was started
- - the fiber name starts with LH and is then followed by three digits indicating the animal
- and another three digits indicating the fiber
- - the last part indiciates the repetition number
- Each folder also contains the saved aLIFP simulations for each parameter set, a table where the
- pre-calculated error values are saved (curr_error_table.mat). The default_fit contains also a
- table containing the error values for the default parameters are saved (curr_error_table_default_params.mat)
- - plot_functions/ contains the scripts used to create the results figures
- - plot_error_values: Figure 3
- - plot_error_values_5000pps: Figure 7
- - plot_examples: Figure 1, 2, 6
- - plot_phenomena_histogram: Figure 8
- - plot_phenomena_interaction_matrix: Figure 9
- - plot_relative_parameters: Figure 4 A-H, Figure 5 A-H
- - plot_relative_phenomena: Figure 4 I-N, Figure 5 I-N
- - support_functions/ contains functions supporting the fitting process or the result visualization
- # Dependencies
- - BADS (https://github.com/acerbilab/bads)
- - aLIFP model (doi.org/10.5281/zenodo.11198029)
- - Data (doi.org/10.5281/zenodo.15827115)
- - MATLAB toolboxes:
- - parallel computing toolbox
- - signal processing toolbox
- - curve fitting toolbox
- - optimization toolbox
- - statistics and machine learing toolbox
- The code has been run and tested using MATLAB 2024a.
- # References
- Felsheim RC, Sly DJ, O'Leary SJ, Dietz M, Towards model-based characterization of
- individual electrically stimulated nerve fibers, PLoS Computational Biology. (2026)
- Felsheim RC, Dietz M (2024). An Adaptive Leaky Integrate and Firing Probability Model of an
- Electrically Stimulated Auditory Nerve Fiber. Trends in Hearing. 2024
- Heffer LF, Sly DJ, Fallon JB, White MW, Shepherd RK, O'Leary SJ. Examining the auditory nerve fiber
- response to high rate cochlear implant stimulation: chronic sensorineural hearing loss and facilitation.
- J Neurophysiol. 2010
README.md, under CC-BY-4.0 · at the source
Overview
- Department of Medical Physics and Acoustics, Carl von Ossietzky Universität Oldenburg, Oldenburg, Germany
- Cluster of Excellence “Hearing4All”, Oldenburg, Germany
- Department of Surgery (Otolaryngology), The University of Melbourne, Parkville, Victoria, Australia
- Ear Science Institute Australia, Perth, Western Australia, Australia
- School of Translational Medicine, Monash University, Clayton, Victoria, Australia
Abstract
Neuroprosthetics can partially restore the impaired system’s functionality. To improve such prosthetics, a quantitative understanding of the electrical stimulation of nerve fibers is required. This knowledge can best be represented by computational models of the process. Currently, most models of electrically stimulated nerve fibers are based on many different datasets, which mainly consist of the average analysis values of recordings of many nerve fibers. While this is a valid approach for understanding the fundamental neurophysiological response properties, both the combination of many different datasets and the average analysis can confound details in the response of the nerve fiber. To improve computational models of electrically stimulated nerve fibers further, we propose an optimization procedure that can fit the parameters of a neuron model to the response of a single nerve fiber to pulse-train stimulation. We show that in this way, the model can reproduce a wide variety of fiber responses of electrically stimulated auditory nerve fibers of guinea pigs in a remarkably detailed way on a scale of less than 1 ms. This not only illustrates the ability of the model, but also the quality and consistency of the data. We analyze and discuss the certainty and generalizability of the parameter sets thus exposed. The model parameters found by the optimization procedure can then form the basis for a detailed fiber-by-fiber analysis, which we illustrate by a correlation analysis of the predicted response properties (e.g., spike latency and refractory period) in the fiber response.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
Zenodo 15848230
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
1 file
- README.md, Text, 96 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 0 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- zenodo:15827115, at Zenodo; found in “Data Availability”
Data Availability
The nerve fiber data used in this work was published on Zenodo (DOI: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 9 MeSH terms, 40 references.
Cite
This paper
Felsheim, R. C., Sly, D. J., O’Leary, S. J., & Dietz, M. (2026). Towards model-based characterization of individual electrically stimulated nerve fibers. PLoS computational biology, 22(3), e1013342. https://
BibTeX
@article{felsheim2026tow
author = {Felsheim, Rebecca C and Sly, David J and O’Leary, Stephen J and Dietz, Mathias},
title = {{Towards model-based characterization of individual electrically stimulated nerve fibers}},
journal = {PLoS computational biology},
year = {2026},
month = mar,
volume = {22},
number = {3},
pages = {e1013342},
publisher = {PLOS},
issn = {1553-734X},
doi = {10.1371/
url = {https://
pmid = {41824532},
pmcid = {PMC12987586}
}
RIS
TY - JOUR
AU - Felsheim, Rebecca C
AU - Sly, David J
AU - O’Leary, Stephen J
AU - Dietz, Mathias
TI - Towards model-based characterization of individual electrically stimulated nerve fibers
T2 - PLoS computational biology
J2 - PLoS Comput Biol
PY - 2026
DA - 2026/
VL - 22
IS - 3
SP - e1013342
SN - 1553-734X
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Towards model-based characterization of individual electrically stimulated nerve fibers",
"container-title": "PLoS computational biology",
"author": [
{
"family": "Felsheim",
"given": "Rebecca C"
},
{
"family": "Sly",
"given": "David J"
},
{
"family": "O’Leary",
"given": "Stephen J"
},
{
"family": "Dietz",
"given": "Mathias"
}
],
"container-title-short":
"volume": "22",
"issue": "3",
"page": "e1013342",
"DOI": "10.1371/
"PMID": "41824532",
"PMCID": "PMC12987586",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
13
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1371/journal.pcbi.1014458 [code]
- Neuronal excitability and parameter variability in the Hodgkin-Huxley model.Journal: PLoS computational biologyIn common: computational, computational modeling (no new data), 3 references
- [2] doi:10.1371/journal.pcbi.1014337 [code]
- Fast reconstruction of degenerate populations of conductance-based neuron models from spike times.Journal: PLoS computational biologyIn common: computational, computational modeling (no new data), 2 references
- [3] doi:10.1021/acs.jpclett.6c01632
- Spiking without Resets: Continuous Integrate-and-Fire Dynamics in Neuronal Circuits.Journal: The journal of physical chemistry lettersIn common: computational modeling (no new data), 2 references
- [4] doi:10.1371/journal.pone.0354021 [code]
- A genetic algorithm for self-supervised models of oscillatory neurodynamics.Journal: PloS oneIn common: computational modeling (no new data), 2 references
- [5] doi:10.3389/fncom.2026.1771884 [code]
- NEURONpyxl: fast, flexible, Python-integrated simulation of biophysical neural networks with complex plastic synapses.Journal: Frontiers in computational neuroscienceIn common: computational modeling (no new data), other, 1 reference
- [6] doi:10.1007/s00422-026-01043-7
- Fluctuation-response relations for a two-stage population of spiking neurons stimulated by common noise.Journal: Biological cyberneticsIn common: computational, computational modeling (no new data), 1 reference
- [7] doi:10.1038/s42003-026-10032-2 [code]
- Data-driven mouse motor thalamus model reveals topography and spatial weight scaling govern spindle dynamics.Journal: Communications biologyIn common: computational, computational modeling (no new data), 1 reference
- [8] doi:10.1038/s41598-026-43346-6 [code]
- Correcting model error bias in estimations of neuronal dynamics from time series observations.Journal: Scientific reportsIn common: 2 references
- [9] doi:10.1007/s11571-026-10522-3 [code]
- Acetylcholine enhances deviance detection in Hodgkin-Huxley neuronal networks.Journal: Cognitive neurodynamicsIn common: computational, computational modeling (no new data), 1 reference
- [10] doi:10.1038/s41526-026-00644-7 [code]
- A computational model of altered neuronal activity in altered gravity.Journal: NPJ microgravityIn common: computational, computational modeling (no new data), 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:c5cc7936168155d6…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
