Emergence of multifrequency activity in a laminar neural mass model.
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
- ############################################
- #Auto07p script for the bifucation diagram of the LaNMM.
- #Plots are handled with Python's matplotlib.
- #Read the docs: https://github.com/auto-07p/auto-07p
- #Tutorial: https://github.com/pclus/auto-tutorial
- ############################################
- #run with #$: auto bifur_lanmm.py
- ############################################
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.colors as colors
- from matplotlib import rc
- from matplotlib.colors import LinearSegmentedColormap
- from matplotlib.colors import ListedColormap, Normalize
- '''latex configuration
- plt.rcParams.update({'font.size': 16})
- plt.rcParams.update({'figure.autolayout': True})
- rc('font', **{'family': 'serif', 'serif': ['Computer Modern Roman']})
- rc('text', usetex=True)
- '''
- ###############################################################
- ###############################################################
- ################# Useful functions ######################
- ###############################################################
- ###############################################################
- def truncate_colormap(cmap, minval=0.0, maxval=1.0, n=100):
- new_cmap = colors.LinearSegmentedColormap.from_list(
- 'trunc({n},{a:.2f},{b:.2f})'.format(n=cmap.name, a=minval, b=maxval),
- cmap(np.linspace(minval, maxval, n)))
- return new_cmap
- def pt_vals(f):
- return np.array([f[0][i]['PT'] for i in range(len(f[0]))])
- def bifs(f,par):
- exceptions = ['No Label', 'RG', 'EP', 'UZ'] # List of exceptions
- 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]
- prop_cycle = plt.rcParams['axes.prop_cycle']
- colores = prop_cycle.by_key()['color']
- cmap = plt.get_cmap('Greys')
- greys = truncate_colormap(cmap, 0.25, 0.85)
- cblues = [(172/255,129/255,255/255),(95/255,14/255,255/255)]
- creds = [(255/255,148/255,115/255),(255/255,71/255,14/255)]
- cblues = LinearSegmentedColormap.from_list('cblues',cblues,N = 50)
- creds = LinearSegmentedColormap.from_list('creds',creds,N = 50)
- ###############################################################
- ###############################################################
- ################## AUTO-07p part ########################
- ###############################################################
- ###############################################################
- init = run('lanmm',IPS=-2,NMX=100000,PAR={'p1':-100.0, 'p2' : 90.0})
- ic = init(201)
- fp=run(ic,IPS=1,NMX=400000,ISW=1,ICP=[1,2,7,8],UZSTOP={'p1' : 500.0})
- hb1=fp('HB1')
- 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})
- hb2=fp('HB2')
- 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})
- ###############################################################
- ###############################################################
- ################## Plotting part ########################
- ###############################################################
- ###############################################################
- fig, axs = plt.subplots(2,1,figsize= (8,6))
- axs[0].scatter(fp['p1'], fp['vp1'], c= (pt_vals(fp)< 0), cmap=greys, s=0.5)
- axs[0].scatter(lc1['p1'],lc1['y1_min'],c=2 * (pt_vals(lc1) < 0), cmap=cblues, s=2)
- axs[0].scatter(lc1['p1'],lc1['y1_max'],c=2 * (pt_vals(lc1) < 0), cmap=cblues, s=2)
- axs[0].scatter(lc2['p1'],lc2['y1_min'],c=2 * (pt_vals(lc2) < 0), cmap=cblues, s=2)
- axs[0].scatter(lc2['p1'],lc2['y1_max'],c=2 * (pt_vals(lc2) < 0), cmap=cblues, s=2)
- axs[1].scatter(fp['p1'], fp['vp2'], c= (pt_vals(fp)< 0), cmap=greys, s=0.5)
- axs[1].scatter(lc1['p1'],lc1['y2_min'],c=2 * (pt_vals(lc1) < 0), cmap=creds, s=2)
- axs[1].scatter(lc1['p1'],lc1['y2_max'],c=2 * (pt_vals(lc1) < 0), cmap=creds, s=2)
- axs[1].scatter(lc2['p1'],lc2['y2_min'],c=2 * (pt_vals(lc2) < 0), cmap=creds, s=2)
- axs[1].scatter(lc2['p1'],lc2['y2_max'],c=2 * (pt_vals(lc2) < 0), cmap=creds, s=2)
- axs[1].set_ylabel(r'$v_{P_1}$')
- axs[1].set_ylabel(r'$v_{P_2}$')
- axs[1].set_xlabel(r'$p_1$')
- bfp = bifs(fp,'p1')
- blc1 = bifs(lc1,'p1')
- blc2 = bifs(lc2,'p1')
- for ax in axs:
- for i,b in enumerate(bfp):
- ax.axvline(b[1],color='k', ls="--",alpha=0.7)
- for i,b in enumerate(blc1):
- ax.axvline(b[1],color='k', ls="--",alpha=0.7)
- for i,b in enumerate(blc2):
- ax.axvline(b[1],color='k', ls="--",alpha=0.7)
- ax.set_xlim(fp['p1'][0],fp['p1'][-1])
- plt.show()
- clean()
bifur_lanmm.py at commit cb7ec2b, under CC0-1.0 · at the source
Overview
- Department of Medicine and Life Sciences, Universitat Pompeu Fabra, Barcelona, Spain
- Department of Mathematics, Universitat Politècnica de Catalunya, Manresa, Spain
- Center of Brain and Cognition, Universitat Pompeu Fabra, Barcelona, Spain
- Brain Modeling Department, Neuroelectrics, Barcelona, Spain
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
cb7ec2b64723fb0805c5fc1c6ac8a003f58a7aad, 2 October 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
6 files
- bifur_lanmm.py, Python, 107 lines
- lanmm.f90, Fortran, 232 lines
- lanmm.py, Python, 118 lines
- lanmm_ly.jl, Julia, 125 lines
- LICENSE, License, 121 lines
- README.md, Text, 12 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;
- 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://
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://
BibTeX
@article{depalmaaristide
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/
url = {https://
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/
VL - 22
IS - 4
SP - e1014022
SN - 1553-734X
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"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":
"volume": "22",
"issue": "4",
"page": "e1014022",
"DOI": "10.1371/
"PMID": "41931533",
"PMCID": "PMC13075798",
"ISSN": "1553-734X",
"publisher": "PLOS",
"URL": "https://
"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 biologyIn 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 oneIn 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 biologyIn 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 biologyIn common: SciPy, Matplotlib, NumPy, 4 references
- [6] doi:10.1038/s41467-026-71918-7 [code]
- Developmental disinhibition gates language lateralization in childhood.Journal: Nature communicationsIn 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 reportsIn common: SciPy, Matplotlib, NumPy, Alzheimer's / dementia, 3 references
- [8] doi:10.1162/imag.a.1250 [code]
- Dynamics-informed priors (DIP) for neural mass modelling.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 4 references
- [9] doi:10.1038/s43587-026-01096-0 [code]
- Neuronal APOE4-induced early hippocampal network hyperexcitability in Alzheimer's disease pathogenesis.Journal: Nature agingIn common: SciPy, Matplotlib, NumPy, Alzheimer's / dementia, 2 references
- [10] doi:10.1002/alz.71570
- Stable neuronal representations underlie cognitive resilience to Alzheimer's disease pathology.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: Alzheimer's / dementia, 3 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.
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, 4 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:52d014a6904c60e8…
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.
