OSCR

Emergence of multifrequency activity in a laminar neural mass model.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

Python · 107 lines · 4.5 KB · CC0-1.0

  1. ############################################
  2. #Auto07p script for the bifucation diagram of the LaNMM.
  3. #Plots are handled with Python's matplotlib.
  4. #Read the docs: https://github.com/auto-07p/auto-07p
  5. #Tutorial: https://github.com/pclus/auto-tutorial
  6. ############################################
  7. #run with #$: auto bifur_lanmm.py
  8. ############################################
  9. import numpy as np
  10. import matplotlib.pyplot as plt
  11. import matplotlib.colors as colors
  12. from matplotlib import rc
  13. from matplotlib.colors import LinearSegmentedColormap
  14. from matplotlib.colors import ListedColormap, Normalize
  15. '''latex configuration
  16. plt.rcParams.update({'font.size': 16})
  17. plt.rcParams.update({'figure.autolayout': True})
  18. rc('font', **{'family': 'serif', 'serif': ['Computer Modern Roman']})
  19. rc('text', usetex=True)
  20. '''
  21. ###############################################################
  22. ###############################################################
  23. ################# Useful functions ######################
  24. ###############################################################
  25. ###############################################################
  26. def truncate_colormap(cmap, minval=0.0, maxval=1.0, n=100):
  27. new_cmap = colors.LinearSegmentedColormap.from_list(
  28. 'trunc({n},{a:.2f},{b:.2f})'.format(n=cmap.name, a=minval, b=maxval),
  29. cmap(np.linspace(minval, maxval, n)))
  30. return new_cmap
  31. def pt_vals(f):
  32. return np.array([f[0][i]['PT'] for i in range(len(f[0]))])
  33. def bifs(f,par):
  34. exceptions = ['No Label', 'RG', 'EP', 'UZ'] # List of exceptions
  35. return [[f[0][i]['TY name'],f[0][i][par]] for i in range(len(f[0])) if f[0][i]['TY name'] not in exceptions]
  36. prop_cycle = plt.rcParams['axes.prop_cycle']
  37. colores = prop_cycle.by_key()['color']
  38. cmap = plt.get_cmap('Greys')
  39. greys = truncate_colormap(cmap, 0.25, 0.85)
  40. cblues = [(172/255,129/255,255/255),(95/255,14/255,255/255)]
  41. creds = [(255/255,148/255,115/255),(255/255,71/255,14/255)]
  42. cblues = LinearSegmentedColormap.from_list('cblues',cblues,N = 50)
  43. creds = LinearSegmentedColormap.from_list('creds',creds,N = 50)
  44. ###############################################################
  45. ###############################################################
  46. ################## AUTO-07p part ########################
  47. ###############################################################
  48. ###############################################################
  49. init = run('lanmm',IPS=-2,NMX=100000,PAR={'p1':-100.0, 'p2' : 90.0})
  50. ic = init(201)
  51. fp=run(ic,IPS=1,NMX=400000,ISW=1,ICP=[1,2,7,8],UZSTOP={'p1' : 500.0})
  52. hb1=fp('HB1')
  53. lc1=run(hb1,IPS=2,ISP=2,ICP=[1,11,2,3,4,5,6],NMX=500000,ISW=1, UZSTOP={'p1' : 500.0,'PERIOD':100.0})#p2_0 UZSTOP={'PERIOD' : 100.0})
  54. hb2=fp('HB2')
  55. lc2=run(hb2,IPS=2,ISP=2,ICP=[1,11,2,3,4,5,6],NMX=500000,ISW=1, UZSTOP={'p1' : 500.0,'PERIOD':100.0})#p2_90 UZSTOP={'PERIOD' : 100.0})
  56. ###############################################################
  57. ###############################################################
  58. ################## Plotting part ########################
  59. ###############################################################
  60. ###############################################################
  61. fig, axs = plt.subplots(2,1,figsize= (8,6))
  62. axs[0].scatter(fp['p1'], fp['vp1'], c= (pt_vals(fp)< 0), cmap=greys, s=0.5)
  63. axs[0].scatter(lc1['p1'],lc1['y1_min'],c=2 * (pt_vals(lc1) < 0), cmap=cblues, s=2)
  64. axs[0].scatter(lc1['p1'],lc1['y1_max'],c=2 * (pt_vals(lc1) < 0), cmap=cblues, s=2)
  65. axs[0].scatter(lc2['p1'],lc2['y1_min'],c=2 * (pt_vals(lc2) < 0), cmap=cblues, s=2)
  66. axs[0].scatter(lc2['p1'],lc2['y1_max'],c=2 * (pt_vals(lc2) < 0), cmap=cblues, s=2)
  67. axs[1].scatter(fp['p1'], fp['vp2'], c= (pt_vals(fp)< 0), cmap=greys, s=0.5)
  68. axs[1].scatter(lc1['p1'],lc1['y2_min'],c=2 * (pt_vals(lc1) < 0), cmap=creds, s=2)
  69. axs[1].scatter(lc1['p1'],lc1['y2_max'],c=2 * (pt_vals(lc1) < 0), cmap=creds, s=2)
  70. axs[1].scatter(lc2['p1'],lc2['y2_min'],c=2 * (pt_vals(lc2) < 0), cmap=creds, s=2)
  71. axs[1].scatter(lc2['p1'],lc2['y2_max'],c=2 * (pt_vals(lc2) < 0), cmap=creds, s=2)
  72. axs[1].set_ylabel(r'$v_{P_1}$')
  73. axs[1].set_ylabel(r'$v_{P_2}$')
  74. axs[1].set_xlabel(r'$p_1$')
  75. bfp = bifs(fp,'p1')
  76. blc1 = bifs(lc1,'p1')
  77. blc2 = bifs(lc2,'p1')
  78. for ax in axs:
  79. for i,b in enumerate(bfp):
  80. ax.axvline(b[1],color='k', ls="--",alpha=0.7)
  81. for i,b in enumerate(blc1):
  82. ax.axvline(b[1],color='k', ls="--",alpha=0.7)
  83. for i,b in enumerate(blc2):
  84. ax.axvline(b[1],color='k', ls="--",alpha=0.7)
  85. ax.set_xlim(fp['p1'][0],fp['p1'][-1])
  86. plt.show()
  87. clean()

bifur_lanmm.py at commit cb7ec2b, under CC0-1.0 · at the source

Overview

Authors: Raul de Palma Aristides1, Pau Clusella2, Roser Sanchez-Todo3,4, Giulio Ruffini4, Jordi Garcia-Ojalvo1
  1. Department of Medicine and Life Sciences, Universitat Pompeu Fabra, Barcelona, Spain
  2. Department of Mathematics, Universitat Politècnica de Catalunya, Manresa, Spain
  3. Center of Brain and Cognition, Universitat Pompeu Fabra, Barcelona, Spain
  4. Brain Modeling Department, Neuroelectrics, Barcelona, Spain
Journal: PLoS computational biology, volume 22, issue 4, article e1014022
Dates: received 18 June 2025; accepted 15 February 2026; published online 3 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1371/journal.pcbi.1014022 · PMID 41931533 · PMCID PMC13075798 · OpenAlex W7148989990
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: computational modeling (no new data) (modality), human (organism), Alzheimer's / dementia (population)
Methods: Single-unit activity, calcium imaging
MeSH: Brain*, Models, Neurological*, Nerve Net*, Neurons*, Action Potentials, Alzheimer Disease, Animals, Computational Biology, Computer Simulation, Humans (* major topic)
Journal subjects: Biology and Life Sciences, Cell Biology, Cellular Types, Animal Cells, Neurons, Neuroscience, Cellular Neuroscience, Physiology, Electrophysiology, Membrane Potential, Anatomy, Nervous System, Synapses, Medicine and Health Sciences, Neurophysiology, Population Biology, Population Dynamics, Postsynaptic Potentials, Biochemistry, Neurochemistry, Neurotransmitters, Mental Health and Psychiatry, Dementia, Alzheimer's Disease, Neurology, Medical Conditions, Neurodegenerative Diseases, Interneurons
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: EC | Horizon 2020 Framework Programme (EU Framework Programme for Research and Innovation H2020) (101017716); MICIU/AEI/10.13039/501100011033 and ERDF, UE (PID2024-155942NB-I00); Spanish Ministry of Science and Innovation, the Spanish State Research Agency and FEDER (Project Reference No. PID2024-160263NB-I00); ICREA Academia program; European Research Council (ERC Synergy CeLEARN-101167121, 855109)
Citations: cited by 1 paper (Europe PMC); 80 references in the paper

Abstract

Neural mass models (NMMs) aim to capture the principles underlying mesoscopic neural activity representing the average behavior of large neural populations in the brain. Recently, a biophysically grounded laminar NMM (LaNMM) has been proposed, capable of generating coupled slow and fast oscillations resulting from interactions between different cortical layers. This concurrent oscillatory activity provides a mechanistic framework for studying information processing mechanisms and various disease-related oscillatory dysfunctions. We show that this model can exhibit periodic, quasiperiodic, and chaotic oscillations. Additionally we demonstrate, through bifurcation analysis and numerical simulations, the emergence of rhythmic activity and various frequency couplings in the model, including delta-gamma, theta-gamma, and alpha-gamma couplings. We also examine how alterations linked with Alzheimer’s disease impair the model’s ability to display multifrequency activity. Furthermore, we show that the model remains robust when coupled to another neural mass. Together, our results offer a dynamical systems perspective of the laminar NMM model, thereby providing a foundation for future modeling studies and investigations into cognitive processes that depend on cross-frequency coupling.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

dsb-lab/LaNMM

License: CC0-1.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: cb7ec2b64723fb0805c5fc1c6ac8a003f58a7aad, 2 October 2025
Languages: Python (2), Fortran (1), Julia (1)
Size: 7 files, 4 scripts
Software Heritage: not archived
Found in: “Data Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Matplotlib (2 files), NumPy (2 files), DifferentialEquations.jl (1 file), SciPy (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
6 files

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;
  • 4 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

The codes to reproduce the main results is publicly available (https://github.com/dsb-lab/LaNMM).

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, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 10 MeSH terms, 5 funders, 74 references.

Cite

This paper

de Palma Aristides, R., Clusella, P., Sanchez-Todo, R., Ruffini, G., & Garcia-Ojalvo, J. (2026). Emergence of multifrequency activity in a laminar neural mass model. PLoS computational biology, 22(4), e1014022. https://doi.org/10.1371/journal.pcbi.1014022

BibTeX

@article{depalmaaristides2026emergence,
author = {de Palma Aristides, Raul and Clusella, Pau and Sanchez-Todo, Roser and Ruffini, Giulio and Garcia-Ojalvo, Jordi},
title = {{Emergence of multifrequency activity in a laminar neural mass model}},
journal = {PLoS computational biology},
year = {2026},
month = apr,
volume = {22},
number = {4},
pages = {e1014022},
publisher = {PLOS},
issn = {1553-734X},
doi = {10.1371/journal.pcbi.1014022},
url = {https://doi.org/10.1371/journal.pcbi.1014022},
pmid = {41931533},
pmcid = {PMC13075798}
}

RIS

TY - JOUR
AU - de Palma Aristides, Raul
AU - Clusella, Pau
AU - Sanchez-Todo, Roser
AU - Ruffini, Giulio
AU - Garcia-Ojalvo, Jordi
TI - Emergence of multifrequency activity in a laminar neural mass model
T2 - PLoS computational biology
J2 - PLoS Comput Biol
PY - 2026
DA - 2026/04/03
VL - 22
IS - 4
SP - e1014022
SN - 1553-734X
PB - PLOS
DO - 10.1371/journal.pcbi.1014022
UR - https://doi.org/10.1371/journal.pcbi.1014022
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.pcbi.1014022",
"type": "article-journal",
"title": "Emergence of multifrequency activity in a laminar neural mass model",
"container-title": "PLoS computational biology",
"author": [
{
"family": "de Palma Aristides",
"given": "Raul"
},
{
"family": "Clusella",
"given": "Pau"
},
{
"family": "Sanchez-Todo",
"given": "Roser"
},
{
"family": "Ruffini",
"given": "Giulio"
},
{
"family": "Garcia-Ojalvo",
"given": "Jordi"
}
],
"container-title-short": "PLoS Comput Biol",
"volume": "22",
"issue": "4",
"page": "e1014022",
"DOI": "10.1371/journal.pcbi.1014022",
"PMID": "41931533",
"PMCID": "PMC13075798",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.pcbi.1014022",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
3
]
]
}
}

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.1014222 [code]
Neural population models for EEG: From Canonical models to alternative model structures.
Journal: PLoS computational biology
In common: DifferentialEquations.jl, 9 references
[2] doi:10.1162/imag.a.1249 [code]
Global search metaheuristics for neural mass model calibration.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: DifferentialEquations.jl, 5 references
[3] doi:10.1371/journal.pone.0354021 [code]
A genetic algorithm for self-supervised models of oscillatory neurodynamics.
Journal: PloS one
In common: SciPy, Matplotlib, NumPy, computational modeling (no new data), 4 references
[4] doi:10.1371/journal.pcbi.1014378 [code]
A mean-field model of neural networks with PV and SOM interneurons reveals connectivity-based mechanisms of gamma oscillations.
Journal: PLoS computational biology
In common: SciPy, Matplotlib, NumPy, 5 references
[5] doi:10.1371/journal.pcbi.1013463 [code]
A multi-frequency whole-brain neural mass model with homeostatic feedback inhibition.
Journal: PLoS computational biology
In common: SciPy, Matplotlib, NumPy, 4 references
[6] doi:10.1038/s41467-026-71918-7 [code]
Developmental disinhibition gates language lateralization in childhood.
Journal: Nature communications
In common: SciPy, Matplotlib, NumPy, computational modeling (no new data), 3 references
[7] doi:10.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: SciPy, Matplotlib, NumPy, Alzheimer's / dementia, 3 references
[8] doi:10.1162/imag.a.1147 [code]
The Virtual Brain links transcranial magnetic stimulation evoked potentials and inhibitory neurotransmitter changes in major depressive disorder.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: SciPy, Matplotlib, NumPy, 3 references
[9] doi:10.1038/s41467-026-69866-3 [code]
Selective weakening of population-coupled synaptic activity in vivo in a mouse model of amyloid-beta pathology.
Journal: Nature communications
In common: Alzheimer's / dementia, 4 references
[10] doi:10.1162/imag.a.1250 [code]
Dynamics-informed priors (DIP) for neural mass modelling.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: 4 references

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.

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.