Correcting model error bias in estimations of neuronal dynamics from time series observations.
The 5 matches
- [1] § Methods › Neuron models ↔ data_HodgkinHuxley.h, lines 25–140 · score 0.85 · gate kinetics, membrane capacitance, reversal potentials, steady state, Hodgkin Huxley, gate variables
- [2] § Methods › Neuron models ↔ data_HodgkinHuxley.h, lines 25–140 · score 0.74 · Runge Kutta Cash, gate kinetics, gate variables, Karp, neuron, HH
- [3] § Methods › Neuron models ↔ config_types.h, lines 11–55 · score 0.68 · membrane capacitance, reversal potentials, gate variables, model parameters, Leak, channels
- [4] § Methods › Reservoir architecture for a driven neuronal oscillator ↔ machine_learning.cpp, lines 22–63 · score 0.63 · adjacency matrix, spectral radius, reservoir state, nodes, connected, force
- [5] § Methods › Neuron models ↔ data_LorenzOscillator.h, lines 25–91 · score 0.60 · Runge Kutta Cash, Karp, oscillations
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
C/C++ header · 142 lines · 4.1 KB · no license · 2 matches
- #ifndef HODGKIN_HUXLEY_H
- #define HODGKIN_HUXLEY_H
- #include "config_types.h"
- #include "utils.h"
- #define _USE_MATH_DEFINES
- #include <cmath>
- #include <math.h>
- #include <vector>
- #include <iostream>
- #include <fstream>
- #include <sstream>
- #include <iomanip>
- #include <Eigen/Sparse>
- #include <Eigen/Dense>
- #include <Eigen/Eigenvalues>
- #include <Eigen/Core>
- #include <boost/numeric/odeint.hpp>
- using namespace boost::numeric::odeint;
- using namespace std;
- class HodgkinHuxley {
- private:
- public:
- // ----------------------------------------------------------------------------------------------------
- // Parameters
- // Runge-Kutta Cash-Karp 5(4) for integration
- runge_kutta_cash_karp54<vector<double>> rkck;
- // Export filepath.
- string export_filepath;
- // Stim Current parameters
- vector<string> stimFilePaths;
- double stimScale;
- int samplingInterval;
- vector<double> stim; // Resultant external stimulation array
- // Constants
- double TEMP_C; // Temperature
- double FARADAY = 96480;
- double PI = M_PI;
- // Model parameters
- double T; // Model duration in ms
- double dt; // Time step in ms
- int num_steps;
- // Neuron parameters
- double soma_len; // Soma length in cm
- double soma_diam; // Soma diameter in cm
- double Cm; // Membrane capacitance
- // Channel parameters
- double gNaT; // Sodium channel conductance
- double ENa; // Sodium reversal potential
- double gK; // Potassium channel conductance
- double EK; // Potassium reversal potential
- double gLeak; // Leak conductance
- double EL; // Leak reversal potential
- // Gating variable parameters
- double amV1, amV2, amV3; // parameters for m-gate
- double tm0, epsm;
- double ahV1, ahV2, ahV3; // parameters for h-gate
- double th0, epsh;
- double anV1, anV2, anV3; // parameters for n-gate
- double tn0, epsn;
- // Initial conditions
- double V_init; // Initial membrane potential
- double m_init; // Initial m-gate value
- double h_init; // Initial h-gate value
- double n_init; // Initial n-gate value
- double init_conditions[4]; // Array to store initial conditions
- // ----------------------------------------------------------------------------------------------------
- // Results
- vector<double> X;
- vector<vector<double>> time_series;
- Eigen::MatrixXd t;
- Eigen::MatrixXd I_stim;
- Eigen::MatrixXd V_mem;
- Eigen::MatrixXd m_gate;
- Eigen::MatrixXd h_gate;
- Eigen::MatrixXd n_gate;
- // ----------------------------------------------------------------------------------------------------
- // Constructor & Destructor
- HodgkinHuxley(const HH_ParamStruct& configSelected);
- ~HodgkinHuxley() = default;
- // ----------------------------------------------------------------------------------------------------
- // Load external stimulation files
- void loadStimulationCurrent();
- // ----------------------------------------------------------------------------------------------------
- // Gating Kinetics Functions
- double infSteadyState(double VV, double a1, double a2);
- double tauTimeConstant(double VV, double t0, double eps, double a1, double a3);
- double mm_inf(double VV);
- double mm_tau(double VV);
- double hh_inf(double VV);
- double hh_tau(double VV);
- double nn_inf(double VV);
- double nn_tau(double VV);
- // ----------------------------------------------------------------------------------------------------
- // Ionic Current Functions
- double I_Leak(double VV) const;
- double I_K(double VV, double nn) const;
- double I_NaT(double VV, double mm, double hh) const;
- // ----------------------------------------------------------------------------------------------------
- // Equations of Motion
- void dXdt(const vector<double>& X, vector<double>& dX, const int idx);
- // ----------------------------------------------------------------------------------------------------
- // Running the model
- void rkStepper(int i);
- void runModel();
- // ----------------------------------------------------------------------------------------------------
- // Export results the model
- void unpackTimeSeries();
- void exportResults();
- };
- #endif // HODGKIN_HUXLEY_H
data_HodgkinHuxley.h at commit ee4d8b9, no license · at the source
Overview
Abstract
Neuron models built from experimental data have successfully predicted observed voltage oscillations within and beyond training range. A tantalising prospect is the possibility of estimating the unobserved dynamics of ion channels, which is largely inaccessible to experiment, from membrane voltage recordings. The main roadblock here is our lack of knowledge of the equations governing biological neurons which forces us to rely on surrogate models and parameter estimates biassed by model error. Error correction algorithms are therefore needed to infer both observed and unobserved dynamics, and ultimately the actual parameters of a biological neuron. Here we use a recurrent neural network to correct the outputs of a surrogate Hodgkin-Huxley (HH) model. The reservoir-surrogate HH model hybrid was trained on the voltage oscillations of a reference HH model and its driving current waveform. Out of the six reservoir-surrogate model architectures investigated, we identify one that most accurately recovers the reference membrane voltage and ion channel dynamics. The reservoir was thus effective in correcting model error in an externally driven nonlinear oscillator and in reconstructing the dynamics of both observed and unobserved state variables from the reference model mimicking an actual neuron.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.
IanWilliams01/driven-hybrid-reservoir-computing
ee4d8b9b807d0cac1854d07847aea1bf8981a38e, 19 November 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
13 files
- config.h, C/C++, 389 lines
- config_types.h, C/C++, 97 lines, 1 match
- data_HodgkinHuxley.cpp, C++, 238 lines
- data_HodgkinHuxley.h, C/C++, 142 lines, 2 matches
- data_LorenzOscillator.cp
p , C++, 118 lines - data_LorenzOscillator.h, C/C++, 93 lines, 1 match
- kbm_wrapper.cpp, C++, 165 lines
- kbm_wrapper.h, C/C++, 43 lines
- machine_learning.cpp, C++, 630 lines, 1 match
- main.cpp, C++, 963 lines
- utils.cpp, C++, 281 lines
- utils.h, C/C++, 77 lines
- README.md, Text, 7 lines
Code availability
https://
Reproduced under the paper's license (CC BY), from the paper cited above.
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;
- 12 scripts, each with its path and the digest of its content;
- 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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
No dataset and no data link were found in the paper.
Data availability
The data and code that support the findings of this study are available within the article and from the authors.
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, 3 authors, 5 keywords, 30 references.
Cite
This paper
Williams, I., Taylor, J. D., & Nogaret, A. (2026). Correcting model error bias in estimations of neuronal dynamics from time series observations. Scientific reports, 16(1), 13120. https://
BibTeX
@article{williams2026cor
author = {Williams, Ian and Taylor, Joseph D. and Nogaret, Alain},
title = {{Correcting model error bias in estimations of neuronal dynamics from time series observations}},
journal = {Scientific reports},
year = {2026},
month = mar,
volume = {16},
number = {1},
pages = {13120},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {41813839},
pmcid = {PMC13100080}
}
RIS
TY - JOUR
AU - Williams, Ian
AU - Taylor, Joseph D.
AU - Nogaret, Alain
TI - Correcting model error bias in estimations of neuronal dynamics from time series observations
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 13120
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Correcting model error bias in estimations of neuronal dynamics from time series observations",
"container-title": "Scientific reports",
"author": [
{
"family": "Williams",
"given": "Ian"
},
{
"family": "Taylor",
"given": "Joseph D."
},
{
"family": "Nogaret",
"given": "Alain"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "13120",
"DOI": "10.1038/
"PMID": "41813839",
"PMCID": "PMC13100080",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
11
]
]
}
}
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.1014337 [code]
- Fast reconstruction of degenerate populations of conductance-based neuron models from spike times.Journal: PLoS computational biologyIn common: 4 references
- [2] doi:10.1371/journal.pone.0354021 [code]
- A genetic algorithm for self-supervised models of oscillatory neurodynamics.Journal: PloS oneIn common: systems, 2 references
- [3] doi:10.1371/journal.pcbi.1014458 [code]
- Neuronal excitability and parameter variability in the Hodgkin-Huxley model.Journal: PLoS computational biologyIn common: 2 references
- [4] doi:10.1371/journal.pone.0345922 [code]
- In vivo efficacy of current stimuli computed by optimal tracking of neuron membrane voltage.Journal: PloS oneIn common: 2 references
- [5] doi:10.1371/journal.pcbi.1013342 [code]
- Towards model-based characterization of individual electrically stimulated nerve fibers.Journal: PLoS computational biologyIn common: 2 references
- [6] doi:10.1007/s11571-026-10512-5 [code]
- Modeling the rhythmic complexity of professional drumming with an oscillation-driven reservoir computer.Journal: Cognitive neurodynamicsIn common: systems, 1 reference
- [7] doi:10.1016/j.neuron.2026.07.016 [code]
- Inferring brain-wide interactions using data-constrained recurrent neural network models.Journal: NeuronIn common: systems, 1 reference
- [8] doi:10.1038/s41598-026-39944-z [code]
- InFoRM: a unified inverse and forward model for sensorimotor control.Journal: Scientific reportsIn common: systems, 1 reference
- [9] doi:10.1126/sciadv.aed6417 [code]
- Intrinsic timing, not temporal prediction, underlies ramping dynamics in visual and parietal cortex during passive behavior.Journal: Science advancesIn common: systems, 1 reference
- [10] doi:10.7554/elife.108352 [code]
- Analysis of dendritic input currents during place field dynamics.Journal: eLifeIn common: systems, 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, 12 scripts, and 5 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:eb4c470f5ffbbe85…
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
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
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.
