Modelling the memory of unmyelinated axons: Integration of a data-driven approach with physiological memory concept.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 237 lines · 7.9 KB · CC-BY-4.0
- # %%
- import pandas as pd
- import matplotlib.pyplot as plt
- import numpy as np
- import convolution_1D as convo
- import plot
- import stimulationProtocols
- # %%
- #2Hz
- impulses=stimulationProtocols.setStimulationProtocol(15)
- simLatency=convo.convolution_1D(impulses, 0.1, 230, convo.memory_1D, plot=False)
- plt.scatter(impulses, simLatency, color="red")
- plt.xlabel('time (s)')
- plt.ylabel('latency (%)')
- plt.show()
- # %%
- #ELID
- impulses=stimulationProtocols.setStimulationProtocol(11)
- simLatency=convo.convolution_1D(impulses,0.1,390, convo.memory_1D, plot=False)
- plt.scatter(impulses, simLatency, color="red")
- plt.xlabel('time (s)')
- plt.ylabel('latency (%)')
- plt.show()
- # %%
- #Recovery Cycle
- data_stim=stimulationProtocols.setStimulationProtocol("DP")
- relLatency=convo.convolution_1D(data_stim,0.01,1650, convo.memory_1D, "Recovery Cycle", plot=False)
- plt.figure(figsize=(15,5))
- plt.plot(data_stim, relLatency, marker='.', linestyle='none')
- plt.title("Recovery Cycle")
- plt.show()
- plt.figure(figsize=(15,5))
- extras=[2, 1, 0.5, 0.25, 0.15, 0.1, 0.05, 0.04, 0.03, 0.02]#distance to next regular puls
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency)[::-1], marker='.')
- plt.show()
- # %%
- #recovery cycle with different background frequency
- data_stim1=stimulationProtocols.protDP(20)
- relLatency1=convo.convolution_1D(data_stim1,0.01,8100, convo.memory_1D, "Recovery Cycle")
- data_stim2=stimulationProtocols.protDP(12)
- relLatency2=convo.convolution_1D(data_stim2,0.01,8100, convo.memory_1D, "Recovery Cycle")
- data_stim3=stimulationProtocols.protDP(8)
- relLatency3=convo.convolution_1D(data_stim3,0.01,8100, convo.memory_1D, "Recovery Cycle")
- data_stim4=stimulationProtocols.protDP(4)
- relLatency4=convo.convolution_1D(data_stim4,0.01,8100, convo.memory_1D, "Recovery Cycle")
- data_stim5=stimulationProtocols.protDP(2)
- relLatency5=convo.convolution_1D(data_stim5,0.01,8100, convo.memory_1D, "Recovery Cycle")
- plt.figure(figsize=(15,5))
- plt.plot(data_stim1, relLatency1, marker='.', linestyle='none', label="Frequency = 1/20 Hz")
- plt.plot(data_stim2, relLatency2, marker='.', linestyle='none', label="Frequency = 1/12 Hz")
- plt.plot(data_stim3, relLatency3, marker='.', linestyle='none', label="Frequency = 1/8 Hz")
- plt.plot(data_stim4, relLatency4, marker='.', linestyle='none', label="Frequency = 1/4 Hz")
- plt.plot(data_stim5, relLatency5, marker='.', linestyle='none', label="Frequency = 1/2 Hz")
- plt.xlabel("time (s)")
- plt.ylabel("latency (%)")
- plt.legend()
- plt.show()
- fig, ax=plt.subplots(figsize=(15,5))
- extras=[2, 1, 0.5, 0.25, 0.15, 0.1, 0.05, 0.04, 0.03, 0.02]
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency1)[::-1], marker='.', label="Frequency = 1/20 Hz")
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency2)[::-1], marker='.', label="Frequency = 1/12 Hz")
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency3)[::-1], marker='.', label="Frequency = 1/8 Hz")
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency4)[::-1], marker='.', label="Frequency = 1/4 Hz")
- plt.plot(extras[::-1], plot.getRecoveryCycle(relLatency5)[::-1], marker='.', label="Frequency = 1/2 Hz")
- plt.xlabel("inter-stimulus interval (s)")
- plt.ylabel("latency shift (%)")
- plt.legend()
- plt.show()
- # %%
- #Recovery Cycle with noise
- data_stim=stimulationProtocols.protRecNoise()
- relLatency=convo.convolution_1D(data_stim,0.01,1650, convo.memory_1D, "Recovery Cycle")
- relLatency2=relLatency
- #plotten
- fig, ax=plt.subplots(figsize=(15,5))
- extraOriginal=[2, 1, 0.5, 0.25, 0.15, 0.1, 0.05, 0.04, 0.03, 0.02]
- data_sim=relLatency
- numberPrevPulses=100
- numberRegPulses=30
- if data_sim is not None:
- l=data_sim
- recoveryCycle2=[]
- for i in range(numberPrevPulses-1,len(l)-2,numberRegPulses+1):
- recoveryCycle2.append(l[i+2]-l[i])
- plt.scatter(extras[::-1], recoveryCycle2[::-1], label="Simulation", color="red")
- plt.xlabel("interstimulus interval in s")
- plt.ylabel("slowing in %")
- plt.legend()
- plt.show()
- plt.figure(figsize=(15,5))
- plt.plot(data_stim, relLatency, marker='.', linestyle='none')
- plt.title("Recovery Cycle")
- plt.show()
- # %%
- #Recovery Cycle values in between
- data_stim=stimulationProtocols.protRecBetween()
- relLatency=convo.convolution_1D(data_stim,0.005,1650, convo.memory_1D, "Recovery Cycle")
- relLatency3=relLatency
- #plotten
- fig, ax=plt.subplots(figsize=(15,5))
- data_sim=relLatency
- numberPrevPulses=100
- numberRegPulses=30
- if data_sim is not None:
- l=data_sim
- recoveryCycle3=[]
- for i in range(numberPrevPulses-1,len(l)-2,numberRegPulses+1):
- recoveryCycle3.append(l[i+2]-l[i])
- plt.scatter(extras[::-1], recoveryCycle3[::-1], label="Simulation", color="red")
- plt.xlabel("interstimulus interval in s")
- plt.ylabel("slowing in %")
- plt.legend()
- plt.show()
- plt.figure(figsize=(15,5))
- plt.plot(data_stim, relLatency, marker='.', linestyle='none')
- plt.title("Recovery Cycle")
- plt.show()
- # %%
- #double pulses, distance 50ms
- data_stim=stimulationProtocols.setStimulationProtocol("DPNew")
- relLatency=convo.convolution_1D(data_stim,0.01,1650, convo.memory_1D, "Double Pulses")
- relLatency=np.array(relLatency)
- plt.figure(figsize=(15,5))
- plt.plot(data_stim[::2], relLatency[::2], 'r.', label="second pulse")
- plt.plot(data_stim[1::2], relLatency[1::2], 'b.', label="first pulse")
- plt.title("Double Pulses 50 ms distance")
- plt.xlabel("time (s)")
- plt.ylabel("latency (%)")
- plt.legend()
- plt.text(100, -2.5, "1/16 Hz", fontsize=18)
- plt.text(390, -2.5, "1/8 Hz", fontsize=18)
- plt.text(610, -2.5, "1/6 Hz", fontsize=18)
- plt.text(770, -2.5, "1/4 Hz", fontsize=18)
- plt.text(930, -2.5, "1/2 Hz", fontsize=18)
- plt.text(1085, -2.5, "2/3 Hz", fontsize=18)
- plt.text(1255, -2.5, "1 Hz", fontsize=18)
- plt.axvline(x=320, color="black", linestyle="dashed")
- plt.axvline(x=560, color="black", linestyle="dashed")
- plt.axvline(x=740, color="black", linestyle="dashed")
- plt.axvline(x=900, color="black", linestyle="dashed")
- plt.axvline(x=1060, color="black", linestyle="dashed")
- plt.axvline(x=1210, color="black", linestyle="dashed")
- plt.axvline(x=1360, color="black", linestyle="dashed")
- plt.axvspan(0, 320, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(320, 560, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(560, 740, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(740, 900, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(900, 1060, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(1060, 1210, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(1210, 1360, facecolor='#faf0e6', alpha=0.5)
- plt.show()
- plot.plotDoublePulses50(relLatency, savefile="")
- # %%
- #double pulses, distance 20ms
- impulses=stimulationProtocols.setStimulationProtocol("DPNew2")
- relLatency=convo.convolution_1D(impulses,0.01,1650, convo.memory_1D, "Double Pulses")
- plt.figure(figsize=(15,5))
- plt.plot(impulses[::2], relLatency[::2], 'r.', label="second pulse")
- plt.plot(impulses[1::2], relLatency[1::2], 'b.', label="first pulse")
- plt.title("Double Pulses 20 ms distance")
- plt.xlabel("time (s)")
- plt.ylabel("latency (%)")
- plt.legend()
- plt.text(100, -2, "1/16 Hz", fontsize=18)
- plt.text(390, -2, "1/8 Hz", fontsize=18)
- plt.text(610, -2, "1/6 Hz", fontsize=18)
- plt.text(770, -2, "1/4 Hz", fontsize=18)
- plt.text(930, -2, "1/2 Hz", fontsize=18)
- plt.text(1085, -2, "2/3 Hz", fontsize=18)
- plt.text(1255, -2, "1 Hz", fontsize=18)
- plt.axvline(x=320, color="black", linestyle="dashed")
- plt.axvline(x=560, color="black", linestyle="dashed")
- plt.axvline(x=740, color="black", linestyle="dashed")
- plt.axvline(x=900, color="black", linestyle="dashed")
- plt.axvline(x=1060, color="black", linestyle="dashed")
- plt.axvline(x=1210, color="black", linestyle="dashed")
- plt.axvline(x=1360, color="black", linestyle="dashed")
- plt.axvspan(0, 320, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(320, 560, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(560, 740, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(740, 900, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(900, 1060, facecolor='#faf0e6', alpha=0.5)
- plt.axvspan(1060, 1210, facecolor='#fff0db', alpha=0.5)
- plt.axvspan(1210, 1360, facecolor='#faf0e6', alpha=0.5)
- plt.show()
- plot.plotDoublePulses20(relLatency, savefile="")
- # %%
Example_1D_Model.ipynb, under CC-BY-4.0 · at the source
Overview
- Joint Research Center for Computational Biomedicine Medical Faculty RWTH Aachen University Aachen Germany
- Scientific Center for Neuropathic Pain Aachen (SCN Aachen), Medical Faculty RWTH Aachen University Aachen Germany
- Center for interdisciplinary pain medicine, Department of Anesthesiology, Intensive Care, Emergency and Pain Medicine University Hospital Würzburg, Center for Interdisciplinary Pain Medicine Würzburg Germany
- Institute for Biomedical Informatics, Faculty of Medicine and University Hospital Cologne University of Cologne Cologne Germany
Abstract
Abstract: This study aims to present a simplified and resource‐efficient computational model for predicting activity‐dependent conduction velocity changes in unmyelinated axons, serving as a complementary tool to Hodgkin‐Huxley models. Our approach is based on the concept of ‘memory’, where the speed of action potentials is modulated by prior activity. We utilized microneurography data from 95 mechano‐insensitive C‐fibres of healthy human participants, including both sexes, across various stimulation protocols to optimize model parameters. The model incorporates linear long‐term and non‐linear short‐term memory components, effectively predicting propagation speed by convolving the history of recorded action potentials with the memory function. The proposed one‐dimensional and two‐dimensional memory functions yielded low mean squared errors in predicting the propagation speed of subsequent action potentials. This computational framework provides insights into dynamics of unmyelinated axons under varying conditions, enhancing our understanding of signal processing along the axon and its short‐term memory capabilities. Additionally our model demonstrates rapid computation times suitable for real‐time applications in electrophysiological experiments. This study introduces a novel model that simulates activity‐dependent conduction velocity changes in unmyelinated axons, which is crucial for effective signal processing during conduction. Unlike Hodgkin‐Huxley models that are computationally intensive and complex, our approach leverages fibre ‘memory’ to capture how prior activity influences conduction. With fewer parameters required to fit diverse datasets, including patient data, our highly efficient model enables faster simulations than Hodgkin‐Huxley models and facilitates the analysis of spike train propagation over long distances, and it is therefore suitable for modelling peripheral axons that extend up to 1 m.
Key points: Unmyelinated axons, which are present in the peripheral and central nervous system, exhibit conduction velocity changes influenced by previous fibre activity, creating a form of fibre ‘memory’. This study presents a novel computational model that predicts conduction velocity changes in unmyelinated axons based on prior activity, providing a faster and more efficient addition to complex Hodgkin‐Huxley models. The new model incorporates both linear long‐term and non‐linear short‐term memory components, demonstrating rapid computation times suitable for real‐time applications. The model effectively captures the dynamics of nerve fibres, enhancing our understanding of axonal signal processing. This work offers insights into how previous activity influences axonal behaviour, informing future research on neurological disorders associated with altered nerve function.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
Zenodo 17182121
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
7 files
- Example_1D_Model.ipynb, Jupyter, 237 lines
- Example_2D_Model.ipynb, Jupyter, 281 lines
- convolution_1D.py, Python, 102 lines
- convolution_2D.py, Python, 77 lines
- plot.py, Python, 232 lines
- stimulationProtocols.py, Python, 211 lines
- README.md, Text, 2 lines
digital-c-fiber/modelling-of-memory-in-unmyelinated-axons
195448aa47afdbc3d06ec38ab0cf3f92e1ad4903, 23 September 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- Example_1D_Model.ipynb, Jupyter, 237 lines
- Example_2D_Model.ipynb, Jupyter, 281 lines
- convolution_1D.py, Python, 102 lines
- convolution_2D.py, Python, 77 lines
- plot.py, Python, 232 lines
- stimulationProtocols.py, Python, 211 lines
- LICENSE, License, 28 lines
- README.md, Text, 17 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:
- 2 repositories 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;
- 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
No dataset and no data link were found in the paper.
Data availability statement
The code used in this research is available to promote transparency and reproducibility of the results. The complete source code, along with instructions for installation and usage, can be accessed at the repository Digital‐C‐fibre (Maxion et al. 2025). The datasets presented in this article are not readily available because of ethical and privacy restrictions. Requests to access the datasets should be directed to B.N.
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 2, 28 September 2026
- Publisher: n/a → Wiley
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 5 keywords, 11 MeSH terms, 1 funder, 30 references.
Cite
This paper
Maxion, A., Tigerholm, J., Namer, B., & Kutafina, E. (2026). Modelling the memory of unmyelinated axons: Integration of a data-driven approach with physiological memory concept. The Journal of physiology, 604(17), 7125-7144. https://
BibTeX
@article{maxion2026model
author = {Maxion, Anna and Tigerholm, Jenny and Namer, Barbara and Kutafina, Ekaterina},
title = {{Modelling the memory of unmyelinated axons: Integration of a data-driven approach with physiological memory concept}},
journal = {The Journal of physiology},
year = {2026},
month = jul,
volume = {604},
number = {17},
pages = {7125--7144},
publisher = {Wiley},
issn = {0022-3751},
doi = {10.1113/
url = {https://
pmid = {42522932},
pmcid = {PMC13532846}
}
RIS
TY - JOUR
AU - Maxion, Anna
AU - Tigerholm, Jenny
AU - Namer, Barbara
AU - Kutafina, Ekaterina
TI - Modelling the memory of unmyelinated axons: Integration of a data-driven approach with physiological memory concept
T2 - The Journal of physiology
J2 - J Physiol
PY - 2026
DA - 2026/
VL - 604
IS - 17
SP - 7125
EP - 7144
SN - 0022-3751
PB - Wiley
DO - 10.1113/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1113/
"type": "article-journal",
"title": "Modelling the memory of unmyelinated axons: Integration of a data-driven approach with physiological memory concept",
"container-title": "The Journal of physiology",
"author": [
{
"family": "Maxion",
"given": "Anna"
},
{
"family": "Tigerholm",
"given": "Jenny"
},
{
"family": "Namer",
"given": "Barbara"
},
{
"family": "Kutafina",
"given": "Ekaterina"
}
],
"container-title-short":
"volume": "604",
"issue": "17",
"page": "7125-7144",
"DOI": "10.1113/
"PMID": "42522932",
"PMCID": "PMC13532846",
"ISSN": "0022-3751",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
29
]
]
}
}
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.pone.0329537 [code]
- Supervised spike sorting feasibility of noisy single-electrode extracellular recordings: Systematic study of human C-nociceptors recorded via microneurography.Journal: PloS oneIn common: pandas, SciPy, Matplotlib, 1 other tool, 7 references, author Ekaterina Kutafina
- [2] doi:10.1038/s41598-026-41561-9 [code]
- Hybrid knowledge- and data-driven modelling for robust spike detection and sorting in human C-fiber microneurography.Journal: Scientific reportsIn common: pandas, SciPy, Matplotlib, 1 other tool, 6 references
- [3] doi:10.1073/pnas.2110932119 [code]
- Multitarget nociceptor sensitization by a promiscuous peptide from the venom of the King Baboon spider.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 5 references
- [4] doi:10.1371/journal.pcbi.1012475 [code]
- Reverse-engineered models reveal differential membrane properties of autonomic and cutaneous unmyelinated fibers.Journal: PLoS computational biologyIn common: 4 references
- [5] doi:10.1097/j.pain.0000000000003116 [code]
- Assessing spontaneous sensory neuron activity using in vivo calcium imaging.Journal: PainIn common: pandas, SciPy, Matplotlib, 1 other tool, 2 references
- [6] doi:10.1371/journal.pbio.3001958 [code]
- Dorsal root ganglia control nociceptive input to the central nervous system.Journal: PLoS biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, 2 references
- [7] doi:10.1523/jneurosci.0804-25.2025 [code]
- Peripheral Gating of Nociception Investigated with a Decerebrate, Arterially Perfused Preparation of the Rat.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: pandas, SciPy, Matplotlib, 1 other tool, 2 references
- [8] doi:10.12688/f1000research.74551.1 [code]
- A population of <i>in silico</
i> models identifies the interplay between Nav 1.8 conductance and potassium currents as key in regulating human dorsal root ganglion neuron excitability. Journal: F1000ResearchIn common: pandas, SciPy, Matplotlib, 1 other tool, computational, computational modeling (no new data), 1 reference - [9] doi:10.3390/biom15050694
- Nav1.8 and Chronic Pain: From Laboratory Animals to Clinical Patients.Journal: BiomoleculesIn common: 3 references
- [10] doi:10.1371/journal.pcbi.1013764 [code]
- PyFibers: An open-source NEURON-Python package to simulate responses of model nerve fibers to electrical stimulation.Journal: PLoS computational biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, 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: 2 repositories of the authors' code, each at its verified commit and with its license, 12 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:0fe2be42431bfe31…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1113/jp290729)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1113/jp290729.svg
:target: https://openscicode.org/badge/doi/10.1113/jp290729
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1113/jp290729"><img src="https://openscicode.org/badge/doi/10.1113/jp290729.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
