Critical neuronal avalanches arise from excitation-inhibition balanced spontaneous activity.
5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 8 matches · 7 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § STAR★Methods › Method details › Network model ↔ SpikesToFluoresence.m, the whole file · a weak match · score 0.98 · double exponential kernel, synthetic fluorescence signal, latent variable, external noise, phenomenological model, sigmoidal function · block
oscr:b:NYWDD3DE09R1T-X· Report a mismatch - [2] § STAR★Methods › Method details › Network model ↔ Gillespie_EImodel.m, the whole file · a weak match · score 0.87 · stochastic Wilson Cowan, quiescent state, transition rate, connectivity matrix, vectors, dimensional · block
oscr:b:WMVGKJ2WX5Q7B-T· Report a mismatch - [3] § Results › E-I network model suggests that neuronal avalanches emerge through balanced amplification ↔ run_EImodel.m, lines 1 to 39 · score 0.84 · nonlinear response function, model spiking activity, neurons interact, exponentially decreased, transients, distance · block
oscr:b:AVR78A9GTGMCM-O· Report a mismatch - [4] § STAR★Methods › Method details › Neuronal avalanches ↔ Get_NonSpatialAvalanches.m, the whole file · a weak match · score 0.71 · summed population activity, recorded neurons, definition, threshold, bins, Neuronal avalanche · block
oscr:b:K8TA0K2QPR08S-K· Report a mismatch - [5] § Results › E-I network model suggests that neuronal avalanches emerge through balanced amplification ↔ Get_NonSpatialAvalanches.m, the whole file · a weak match · score 0.64 · spatially unconstrained definition, sum activity, population activities, neuronal avalanches, neurons · block
oscr:b:K8TA0K2QPR08S-K· Report a mismatch - [6] § STAR★Methods › Method details › Network model ↔ Gillespie_EImodel.m, the whole file · a weak match · score 0.63 · transition rate, Gillespie, quiescent, algorithm, dt, simulated · block
oscr:b:WMVGKJ2WX5Q7B-T· Report a mismatch - [7] § STAR★Methods › Method details › Network model ↔ Get_Connectivity_matrix.m, the whole file · a weak match · score 0.58 · spatial embedded, connectivity matrix, NI, coupling, neurons · block
oscr:b:C1MJZQZ69XDRD-6· Report a mismatch - [8] § STAR★Methods › Method details › Network model ↔ Get_Connectivity_matrix.m, the whole file · a weak match · score 0.50 · balanced amplification, Schur, rI, trace, wI, coupling · block
oscr:b:C1MJZQZ69XDRD-6· Report a mismatch
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
MATLAB · 137 lines · 4.5 KB · no license · 2 matches
- function [spike_times,spike_ids,network_state] = Gillespie_EImodel(W,response_fn,beta,alpha,I,t_min,t_max,init_state)
- % This function is based on Edward Wallace's code, publicly available here:
- % https://github.com/ewallace/stochsimcode
- %
- % This code simulates a stochastic Wilson-Cowan model with the Gillespie algorithm.
- % The connectivity of E and I neurons is given by matrix W (N-by-N, where N = NE + NI).
- % The background inputs are given by I (N-dimensional).
- % State transition rates are given by alpha and the tranfert function (response_fn, handle function)
- %
- %
- % Inputs:
- % -W: connectivity matrix, N-by-N: W(i,j) is synaptic
- % weight from the jth neuron to the ith neuron.
- % -response_fn: handle for response function (sigmoid, hyperbolic tan, etc.)
- % -I: backgound inputs, N-dimensional array
- % -alpha: rate at which active neurons decay to quiescent state, N-dimensional array
- % -beta: is the height of the response function, N-dimensional array
- % -init_state: is the initial state vector, 2-by-N
- %
- % Outputs:
- % - spike_times: spike times
- % - spike_ids: neuron IDs associated to spike times
- % - network_state: last network state (useful for batches)
- %
- % References:
- % Citation: Benayoun M, Cowan JD, van Drongelen W, Wallace E (2010)
- % Avalanches in a Stochastic Model of Spiking Neurons.
- % PLoS Comput Biol 6(7): e1000846.
- % https://doi.org/10.1371/journal.pcbi.1000846
- %
- % Wallace E, Benayoun M, van Drongelen W, Cowan JD.
- % Emergent Oscillations in Networks of Stochastic Spiking Neurons
- % PLoS ONE, May 6, 2011. DOI: 10.1371/journal.pone.0014804
- %--------------------------------------------------------------------------
- N = size(W,1);
- % Calculate expected number of events
- factor=10;
- expected_events=N*(t_max-t_min)*factor;
- % Initialize vectors for update times, label of updated neuron,
- % and new state of updated neuron
- times = zeros(1, expected_events);
- updates = times;
- new_states = zeros(2, expected_events);
- % Set event counter to 0 and simulation time to initial time.
- event_no = 0;
- curr_time = t_min;
- dt = 0;
- % initialize network state vector - we'll keep one vector
- % for the active neurons and another for the quiescent ones
- network_state = init_state;
- active = init_state(1,:)';
- quiescent = init_state(2,:)';
- % Calculate vector of transition rates at initial time
- currents = W*active + I;
- trans = beta .* (active==0) .*feval(response_fn,currents) + ...
- alpha.*(active==1);
- cum_trans=cumsum(trans);
- % Main loop: update according to Gillespie algorithm, with rates
- % specified by trans, until time t_max is exceeded.
- while (curr_time < t_max)
- curr_time = curr_time + dt;
- % Call gillespie to pick update time, neuron updated, and new state
- % Calculates total network transition rate, as sum of transition
- % rates of all neurons, i.e. last element of cum_trans.
- total_trans = cum_trans(end);
- % timestep is exponential R.V. with parameter total_trans
- dt = -log(rand)/total_trans;
- % pick random variable uniform on (0, total_trans), and select
- % neuron with number i_update as least i with
- % test_variable < cum_trans(i)
- test_variable = total_trans*rand;
- i_update = find(cum_trans >= test_variable,1,'first');
- % Pick new state for neuron i_update
- new_state = double(~network_state(:,i_update));
- active(i_update) = new_state(1);
- quiescent(i_update) = new_state(2);
- % change transition rates of neurons affected by spike
- if(new_state(1) == 1)
- currents = currents + W(:,i_update);
- elseif(new_state(1)==0)
- currents = currents - W(:,i_update);
- end
- trans = beta .* (active==0) .*feval(response_fn,currents) + ...
- alpha.*(active==1);
- % calculate cumulative sum of transition probabities
- cum_trans=cumsum(trans);
- event_no=event_no+1;
- times(event_no)=curr_time+dt;
- updates(event_no) = i_update;
- new_states(:, event_no)=new_state;
- network_state = [ active' ; quiescent' ];
- % If network can make no further transitions, end simulation.
- if(cum_trans(N)==0)
- break
- end
- end
- % End of main simulation loop
- event_no = event_no - 1;
- times=times(1:event_no);
- updates=updates(1:event_no);
- new_states=new_states(:, 1:event_no);
- % Takes vectors of all times, updates, and new states, outputs
- % reduced vector containing only spike times and info, i.e.
- % transitions from quiescent to active.
- spikes = find(new_states(1,:));
- spike_times = times(spikes);
- spike_ids = updates(spikes);
- return
Gillespie_EImodel.m at commit cbfcd64, no license · at the source
Overview
- Institut de Biologie de l’ENS (IBENS), Département de biologie, École normale supérieure, CNRS, INSERM, Université PSL, 75005 Paris, France
- Departament de Matemàtiques, Universitat Politècnica de Catalunya, 08028 Barcelona, Spain
- Institut de Matemàtiques de la UPC - Barcelona Tech (IMTech), Barcelona, Spain
- Centre de Recerca Matemàtica, Barcelona, Spain
Abstract
Neuronal avalanches are sequences of neural activations exhibiting scale-invariant statistics, indicative of critical dynamics. Theoretical studies proposed that the balance between excitation (E) and inhibition (I), along with neuromodulation, are key factors influencing this critical behavior. Here, we performed in vivo studies to investigate the role of E and I neurons in generating neuronal avalanches in the optic tectum of zebrafish larvae. For this, we used double-transgenic zebrafish larvae expressing cell-type-specific fluorescent proteins and GCaMP6f, combined with immunostaining and selective-plane illumination microscopy to monitor spontaneous neuronal activity and neurotransmitter identity. We found that neural activity exhibited avalanches with critical exponents at balanced and slightly excitation-dominated E–I ratios, whereas imbalanced ratios led to faster-decaying avalanches. A stochastic network model operating at a critical point, where excitation and inhibition couplings are balanced and balanced amplification drives network avalanches, reproduced the observed statistics of neuronal avalanches and their dependence on E-I ratio fluctuations.
Reproduced under the paper's license (CC BY-NC), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 8 matches between paragraphs and lines of code.
adrianponce/ExcInh_Neuronal_Avalanches
cbfcd64521944fa5b13910ae3ca9bcdf708de2cd, 21 October 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- Get_Connectivity_matrix.
m , MATLAB, 64 lines, 2 matches - Get_NonSpatialAvalanches
.m , MATLAB, 38 lines, 2 matches - Gillespie_EImodel.m, MATLAB, 137 lines, 2 matches
- SpikesToFluoresence.m, MATLAB, 102 lines, 1 match
- avalanche_analysis_EI.m, MATLAB, 309 lines
- avalanche_timing_EI.m, MATLAB, 142 lines
- run_EImodel.m, MATLAB, 209 lines, 1 match
- README.md, Text, 31 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;
- 7 scripts, each with its path and the digest of its content;
- 8 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 and code availability
All data reported in this article is available upon reasonable request.
The codes to detect and analyze the neuronal avalanches and to model them are available at: https://
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.
Reproduced under the paper's license (CC BY-NC), 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
- Authors: added Adrián Ponce-Alvarez (0000-0003-1446-7392); removed Adrián Ponce-Alvarez
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 9 keywords, 3 funders, 88 references.
Cite
This paper
Janbon, M., Amortegui, M., Hansen, E. C. A., Nourin, S., Candat, V., Sumbre, G., & Ponce-Alvarez, A. (2026). Critical neuronal avalanches arise from excitation-inhibition balanced spontaneous activity. iScience, 29(9), 117212. https://
BibTeX
@article{janbon2026criti
author = {Janbon, Maxime and Amortegui, Mateo and Hansen, Enrique Carlos Arnoldo and Nourin, Sarah and Candat, Virginie and Sumbre, Germán and Ponce-Alvarez, Adrián},
title = {{Critical neuronal avalanches arise from excitation-inhibition balanced spontaneous activity}},
journal = {iScience},
year = {2026},
month = aug,
volume = {29},
number = {9},
pages = {117212},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42633153},
pmcid = {PMC13499105}
}
RIS
TY - JOUR
AU - Janbon, Maxime
AU - Amortegui, Mateo
AU - Hansen, Enrique Carlos Arnoldo
AU - Nourin, Sarah
AU - Candat, Virginie
AU - Sumbre, Germán
AU - Ponce-Alvarez, Adrián
TI - Critical neuronal avalanches arise from excitation-inhibition balanced spontaneous activity
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 9
SP - 117212
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Critical neuronal avalanches arise from excitation-inhibition balanced spontaneous activity",
"container-title": "iScience",
"author": [
{
"family": "Janbon",
"given": "Maxime"
},
{
"family": "Amortegui",
"given": "Mateo"
},
{
"family": "Hansen",
"given": "Enrique Carlos Arnoldo"
},
{
"family": "Nourin",
"given": "Sarah"
},
{
"family": "Candat",
"given": "Virginie"
},
{
"family": "Sumbre",
"given": "Germán"
},
{
"family": "Ponce-Alvarez",
"given": "Adrián"
}
],
"container-title-short":
"volume": "29",
"issue": "9",
"page": "117212",
"DOI": "10.1016/
"PMID": "42633153",
"PMCID": "PMC13499105",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
14
]
]
}
}
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.1038/s42003-023-05001-y [code]
- Critical scaling of whole-brain resting-state dynamics.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, 18 references, author Adrián Ponce-Alvarez
- [2] doi:10.1371/journal.pcbi.1010678 [code]
- Sampling effects and measurement overlap can bias the inference of neuronal avalanches.Journal: PLoS computational biologyIn common: 21 references
- [3] doi:10.3389/fncom.2026.1744991 [code]
- Symmetry breaking and avalanche shapes in modular neural networks.Journal: Frontiers in computational neuroscienceIn common: 20 references
- [4] doi:10.1016/j.isci.2023.107840 [code]
- Criticality of neuronal avalanches in human sleep and their relationship with sleep macro- and micro-architecture.Journal: iScienceIn common: 16 references
- [5] doi:10.1038/s41467-023-41020-3 [code]
- Critical dynamics arise during structured information presentation within embodied in vitro neuronal networks.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, 15 references
- [6] doi:10.1126/sciadv.adj9303 [code]
- Low-dimensional criticality embedded in high-dimensional awake brain dynamics.Journal: Science advancesIn common: Statistics and Machine Learning Toolbox, 15 references
- [7] doi:10.1038/s42003-026-10132-z [code]
- Hippocampal criticality tracks cognitive demand and shifts with memory impairment.Journal: Communications biologyIn common: 15 references
- [8] doi:10.1371/journal.pcbi.1009848 [code]
- Criticality enhances the multilevel reliability of stimulus responses in cortical neural networks.Journal: PLoS computational biologyIn common: Statistics and Machine Learning Toolbox, 14 references
- [9] doi:10.1073/pnas.2417010122 [code]
- Genetic contributions to brain criticality and its relationship with human cognitive functions.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Statistics and Machine Learning Toolbox, 14 references
- [10] doi:10.1016/j.celrep.2023.113162
- Beyond pulsed inhibition: Alpha oscillations modulate attenuation and amplification of neural activity in the awake resting state.Journal: Cell reportsIn common: 14 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, 7 scripts, and 8 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:6c9eb7741459f134…
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.1016/j.isci.2026.117212)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117212.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117212
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117212"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117212.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.
