OSCR

Modelling discrete states and long-term dynamics in functional brain networks.

Code ↔ Paper

36 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

25 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 36 matches
  1. [1] § Methods › Simulation analysis ↔ simulation/04_compare_simulations.py, lines 169 to 257 · score 0.81 · Jensen Shannon, JS distances, RV coefficient, rensen coefficient, Dice, DyNeStE · block oscr:b:1T6T9HAVET9CR-M · Report a mismatch
  2. [2] § Methods › Simulation analysis ↔ simulation/03_analyze_simulations.py, lines 105 to 151 · score 0.79 · sample Kolmogorov Smirnov, alpha threshold, lifetime distribution, state lifetime, Bonferroni correction, activation · block oscr:b:FXCHC6NWTTHTJ-W · Report a mismatch
  3. [3] § Methods › Replay data analysis › Statistical analysis ↔ replay/utils/plotting.py, lines 278 to 389 · score 0.77 · replay evoked network, Bonferroni corrected, state probabilities, MNE, cluster, dimension · block oscr:b:M0519XD8B8P1E-P · Report a mismatch
  4. [4] § Results › Real data analysis: Replay ↔ replay/utils/plotting.py, lines 278 to 389 · score 0.76 · Replay evoked network, standard error, RSN state, Bonferroni corrected, state probabilities, cluster · block oscr:b:M0519XD8B8P1E-P · Report a mismatch
  5. [5] § Methods › TINDA analysis › Detection of cyclical structure and cycle strength ↔ nott_meguk/utils/plotting.py, lines 830 to 955 · score 0.70 · unit circle, asymmetry matrix, nodes, counterclockwise, cycle, edges · block oscr:b:P4PX5G0JWC0DX-2 · Report a mismatch
  6. [6] § Methods › Model training ↔ nott_meguk/01_train_dyneste.py, lines 44 to 132 · score 0.69 · variational free energy, model hyperparameters, state covariance, curves, trained · block oscr:b:F9QTKXNR0NPQZ-N · Report a mismatch
  7. [7] § Methods › Power and functional connectivity ↔ nott_meguk/04_analyze_network_descriptions.py, lines 91 to 136 · score 0.68 · half bandwidth, 1–45 Hz, taper, computation, spectral, PSDs · block oscr:b:EK6PF1MRZA9Y4-7 · Report a mismatch
  8. [8] § Methods › Power and functional connectivity ↔ replay/02_analyze_network_descriptions.py, lines 88 to 133 · score 0.68 · half bandwidth, 1–45 Hz, taper, computation, spectral, PSDs · block oscr:b:93VM8F8TBSPFG-V · Report a mismatch
  9. [9] § Methods › Datasets › Simulation ↔ simulation/04_compare_simulations.py, lines 169 to 257 · score 0.66 · JS distance, RV coefficients, rensen coefficient, violin, Dice, DyNeStE · block oscr:b:1T6T9HAVET9CR-M · Report a mismatch
  10. [10] § Methods › Model training ↔ nott_meguk/02_train_hmm.py, lines 44 to 120 · score 0.66 · variational free energy, model hyperparameters, state covariance, trained · block oscr:b:QPBVNGV4K81VH-7 · Report a mismatch
  11. [11] § Methods › Dynamic network states (DyNeStE) › Inference of model parameters ↔ nott_meguk/01_train_dyneste.py, lines 44 to 132 · score 0.66 · variational free energy, state covariances, train DyNeStE, gradient, inference, model · block oscr:b:F9QTKXNR0NPQZ-N · Report a mismatch
  12. [12] § Methods › Replay data analysis ↔ replay/03_analyze_replay_network.py, lines 132 to 174 · score 0.66 · prevent high variance, replay intervals, RSN state, active · block oscr:b:BR81XJD8NNG68-O · Report a mismatch
  13. [13] § Methods › Split-half reproducibility ↔ nott_meguk/06_analyze_split_half_reproducibility.py, lines 91 to 166 · score 0.64 · split halves, power maps, cosine, reproducible, permutation, MEGUK · block oscr:b:68PRVYMGPQRYH-K · Report a mismatch
  14. [14] § Results › Real data analysis: Nottingham MEGUK › DyNeStE infers plausible categorical dynamic brain networks ↔ nott_meguk/05_analyze_network_dynamics.py, lines 55 to 144 · score 0.64 · switching rates, fractional occupancies, network dynamics, lifetimes, DyNeStE, intervals · block oscr:b:X0C1DX6VBWTA2-5 · Report a mismatch
  15. [15] § Methods › TINDA analysis › Circle plot visualisation and timescale-specific analysis ↔ nott_meguk/09_run_tinda_analysis.py, lines 544 to 589 · score 0.63 · equal variance assumptions, cycle strengths, Welch, TINDA, quintiles, Bonferroni · block oscr:b:RJ2C1GDCGE5P2-R · Report a mismatch
  16. [16] § Methods › Replay data analysis › Statistical analysis ↔ replay/04_visualize_replay_network.py, lines 44 to 82 · score 0.63 · replay evoked, replay rates, replay intervals, Fano factor, activations, network · block oscr:b:MAG0RVJWWE6KW-2 · Report a mismatch
  17. [17] § Results › Real data analysis: Nottingham MEGUK › DyNeStE infers plausible categorical dynamic brain networks ↔ nott_meguk/05_analyze_network_dynamics.py, lines 55 to 144 · score 0.60 · Riemannian distances, Network dynamics, HMM state, violin, correlations, DyNeStE · block oscr:b:X0C1DX6VBWTA2-5 · Report a mismatch
  18. [18] § Results › Simulation analysis › DyNeStE captures long-range temporal dependencies in simulated data ↔ simulation/03_analyze_simulations.py, lines 47 to 103 · score 0.59 · ground truth, rensen coefficients, covariance matrices, Dice, simulation, matched · block oscr:b:N2YCNATC0M9T9-Y · Report a mismatch
  19. [19] § Methods › Datasets › Simulation ↔ simulation/03_analyze_simulations.py, lines 105 to 151 · score 0.59 · state lifetime distributions, covariance matrices, KS, gamma, distances, simulated · block oscr:b:FXCHC6NWTTHTJ-W · Report a mismatch
  20. [20] § Methods › Replay data analysis ↔ replay/03_analyze_replay_network.py, lines 87 to 130 · score 0.59 · baseline corrected, Replay evoked, epoched, activations, network · block oscr:b:CF4GD1MHWTYS9-3 · Report a mismatch
  21. [21] § Methods › Measures of long-range temporal dependencies › Statistical analysis ↔ nott_meguk/08_visualize_long_term_dependency.py, lines 97 to 153 · score 0.59 · Bonferroni correction, MNE, Fano factor, cluster, MI, lags · block oscr:b:E7SB8A12T14JZ-N · Report a mismatch
  22. [22] § Results › Simulation analysis › DyNeStE learns categorical latent states in simulated data ↔ simulation/03_analyze_simulations.py, lines 47 to 103 · score 0.58 · ground truth, rensen coefficient, covariance matrices, Dice, simulated, DyNeStE · block oscr:b:N2YCNATC0M9T9-Y · Report a mismatch
  23. [23] § Methods › Measures of long-range temporal dependencies › Time-lagged mutual information ↔ nott_meguk/utils/analysis.py, lines 322 to 416 · score 0.58 · mutual information, geometric, entropy, nats, lags, MI · block oscr:b:8ZAGTK8A7ZKPE-N · Report a mismatch
  24. [24] § Methods › Power and functional connectivity ↔ nott_meguk/04_analyze_network_descriptions.py, lines 180 to 257 · score 0.57 · power spectral densities, power maps, connectivity, PSDs, networks, HMM · block oscr:b:CSRMEEZPF5WP4-8 · Report a mismatch
  25. [25] § Results › Real data analysis: Nottingham MEGUK › DyNeStE learns long-range temporal dependencies ↔ nott_meguk/08_visualize_long_term_dependency.py, lines 97 to 153 · score 0.57 · mutual information, Bonferroni corrected, window lengths, Fano factors, cluster, lags · block oscr:b:E7SB8A12T14JZ-N · Report a mismatch
  26. [26] § Results › Simulation analysis › DyNeStE captures long-range temporal dependencies in simulated data ↔ simulation/01_train_dyneste.py, lines 67 to 108 · score 0.57 · transition probability matrix, ground truth, trained DyNeStE, simulated, models · block oscr:b:G1A8TPYCD1KAC-Z · Report a mismatch
  27. [27] § Methods › Power and functional connectivity ↔ replay/02_analyze_network_descriptions.py, lines 177 to 244 · score 0.57 · power spectral densities, power maps, connectivity, PSDs, networks · block oscr:b:JJ2EXK0JQ8DZP-7 · Report a mismatch
  28. [28] § Methods › TINDA analysis › Detection of cyclical structure and cycle strength ↔ nott_meguk/09_run_tinda_analysis.py, lines 544 to 589 · score 0.57 · equal variance assumptions, cycle strength, alpha, matrix, HMM, DyNeStE · block oscr:b:RJ2C1GDCGE5P2-R · Report a mismatch
  29. [29] § Methods › TINDA analysis › Circle plot visualisation and timescale-specific analysis ↔ nott_meguk/utils/statistics.py, lines 76 to 138 · score 0.56 · equal variance assumptions, Bonferroni correction, Welch, threshold, alpha · block oscr:b:23HS05F2DY8ZT-C · Report a mismatch
  30. [30] § Results › Real data analysis: Replay ↔ replay/04_visualize_replay_network.py, lines 44 to 82 · score 0.56 · replay evoked, replay rates, replay interval, activations, network, HMM · block oscr:b:MAG0RVJWWE6KW-2 · Report a mismatch
  31. [31] § Methods › TINDA analysis › Fractional occupancy asymmetry matrix ↔ nott_meguk/utils/analysis.py, lines 671 to 692 · score 0.56 · fractional occupancy, asymmetry matrices, cyclic, TINDA · block oscr:b:P0M554YW1BZH4-A · Report a mismatch
  32. [32] § Methods › Dynamic network states (DyNeStE) › Generative model ↔ simulation/01_train_dyneste.py, lines 110 to 183 · score 0.55 · variational free energy, model RNN, predict, DyNeStE, inference, covariance · block oscr:b:4JNFE7GPCV0BW-T · Report a mismatch
  33. [33] § Methods › Dynamic network states (DyNeStE) › Inference of model parameters ↔ nott_meguk/02_train_hmm.py, lines 44 to 120 · score 0.54 · variational free energy, state covariances, inference, train, model · block oscr:b:QPBVNGV4K81VH-7 · Report a mismatch
  34. [34] § Methods › Split-half reproducibility ↔ nott_meguk/utils/statistics.py, lines 141 to 191 · score 0.52 · power maps, cosine, reproducible, split, permutation, MEGUK · block oscr:b:Q2NBZQQZJ7W6Q-V · Report a mismatch
  35. [35] § Results › Real data analysis: Nottingham MEGUK › DyNeStE infers plausible categorical dynamic brain networks ↔ nott_meguk/utils/analysis.py, lines 12 to 45 · score 0.52 · switching rates, fractional occupancies, lifetimes, intervals · block oscr:b:KDY1NKJ9QPA6D-J · Report a mismatch
  36. [36] § Methods › Replay data analysis ↔ replay/03_analyze_replay_network.py, lines 132 to 174 · score 0.51 · Active RSN States, Replay Intervals · block oscr:b:BR81XJD8NNG68-O · 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

Python · 151 lines · 5.1 KB · MIT · 4 matches

  1. """Script for analyzing model ability to learn long-range dependencies."""
  2. # Import packages
  3. import os
  4. import numpy as np
  5. from scipy.stats import ks_2samp
  6. from osl_dynamics.analysis import post_hoc
  7. from utils import validate_nd_arrays
  8. from utils import data as ud
  9. from utils import plotting as up
  10. if __name__ == "__main__":
  11. # -------------- [1] Settings -------------- #
  12. print("Step 1: Setting up ...")
  13. # Set user-defined parameters
  14. dyneste_run_ids = 0
  15. hmm_run_ids = 0
  16. # Validate user inputs
  17. if dyneste_run_ids != hmm_run_ids:
  18. raise ValueError(
  19. "Run IDs for DyNeStE and HMM must match to enable a valid comparison."
  20. )
  21. # Set directories
  22. BASE_DIR = "/well/woolrich/users/olt015/Cho2026_DyNeStE/simulation"
  23. MODEL_DIR = os.path.join(BASE_DIR, "results")
  24. FIG_DIR = os.path.join(BASE_DIR, "figures")
  25. os.makedirs(FIG_DIR, exist_ok=True)
  26. # Set colors for visualization
  27. cmap = ["#E69F00", "#56B4E9", "#009E73"] # Okabe-Ito color palette
  28. # -------------- [2] Single Simulation -------------- #
  29. print("Step 2: Analyzing a representative simulation ...")
  30. # Load inferred parameters
  31. dyneste_inf_params = ud.load_inf_params(
  32. MODEL_DIR, "dyneste", dyneste_run_ids
  33. )
  34. hmm_inf_params = ud.load_inf_params(
  35. MODEL_DIR, "hmm", hmm_run_ids
  36. )
  37. # Get state time courses
  38. dyneste_sim_stc = dyneste_inf_params["sim_stc"]
  39. dyneste_inf_stc = dyneste_inf_params["inf_stc"]
  40. dyneste_sam_stc = dyneste_inf_params["sam_stc"]
  41. hmm_sim_stc = hmm_inf_params["sim_stc"]
  42. hmm_inf_stc = hmm_inf_params["inf_stc"]
  43. hmm_sam_stc = hmm_inf_params["sam_stc"]
  44. # Match number of samples
  45. n_samples = dyneste_sam_stc.shape[0]
  46. dyneste_sim_stc = dyneste_sim_stc[:n_samples]
  47. dyneste_inf_stc = dyneste_inf_stc[:n_samples]
  48. hmm_sim_stc = hmm_sim_stc[:n_samples]
  49. hmm_inf_stc = hmm_inf_stc[:n_samples]
  50. # *_stc.shape = (n_samples, n_states)
  51. # Get dice coefficients
  52. dices = [
  53. dyneste_inf_params["dice_coefficient"],
  54. hmm_inf_params["dice_coefficient"],
  55. ]
  56. # Get state-specific covariance matrices
  57. dyneste_sim_cov = dyneste_inf_params["sim_cov"]
  58. dyneste_inf_cov = dyneste_inf_params["inf_cov"]
  59. hmm_sim_cov = hmm_inf_params["sim_cov"]
  60. hmm_inf_cov = hmm_inf_params["inf_cov"]
  61. # *_cov.shape = (n_states, n_channels, n_channels)
  62. # Validate simulation data
  63. validate_nd_arrays(dyneste_sim_stc, hmm_sim_stc)
  64. validate_nd_arrays(dyneste_sim_cov, hmm_sim_cov)
  65. sim_stc = dyneste_sim_stc
  66. sim_cov = dyneste_sim_cov
  67. n_states = sim_stc.shape[-1]
  68. # Plot state time courses
  69. print("(Step 2-1) Plotting state time courses ...")
  70. fig, axes = up.plot_alpha(
  71. sim_stc,
  72. dyneste_inf_stc,
  73. hmm_inf_stc,
  74. n_samples=4000,
  75. plot_kwargs={"alpha": 0.75},
  76. colors=cmap,
  77. )
  78. titles = ["Ground Truth", "DyNeStE", "HMM"]
  79. axes[-1].set_xlabel("Time (samples)", fontsize=14)
  80. for i, ax in enumerate(axes):
  81. title = f"{titles[i]}"
  82. if i > 0:
  83. title += f" (Dice Sørensen Coefficient: {dices[i - 1]:.4f})"
  84. ax.set_ylabel("Probabilities", fontsize=14)
  85. ax.set_title(title, fontsize=14)
  86. ax.tick_params(axis="both", which="both", labelsize=14)
  87. up.save(fig, os.path.join(FIG_DIR, "state_time_courses.png"))
  88. # Plot covariance matrices
  89. print("(Step 2-2) Plotting covariance matrices ...")
  90. covs = np.concatenate([
  91. sim_cov, dyneste_inf_cov, hmm_inf_cov,
  92. ], axis=0)
  93. # covs.shape = (n_total_states, n_channels, n_channels)
  94. fig, _ = up.plot_matrices(covs, cbar_label="Covariance")
  95. up.save(fig, os.path.join(FIG_DIR, "covariance_matrices.png"))
  96. # Plot state lifetime distributions
  97. print("(Step 2-3) Plotting state lifetime distributions ...")
  98. stcs = [sim_stc, dyneste_inf_stc, hmm_inf_stc, dyneste_sam_stc, hmm_sam_stc]
  99. stc_names = ["sim", "dyneste_inf", "hmm_inf", "dyneste_sam", "hmm_sam"]
  100. for stc, name in zip(stcs, stc_names):
  101. filename = os.path.join(FIG_DIR, f"{name}_lt.png")
  102. up.plot_state_lifetime_dist(
  103. stc,
  104. colors=cmap,
  105. gamma_shape=10,
  106. gamma_scale=5,
  107. filename=filename,
  108. )
  109. # Perform statistical testing on state lifetime distributions
  110. print("(Step 2-4) Two-Sample Kolmogorov-Smirnov test for goodness of fit")
  111. bonferroni_n_tests = n_states * 4
  112. alpha_thr = 0.05 / bonferroni_n_tests
  113. print(f"\tBonferroni-corrected alpha threshold: {alpha_thr:.4e}")
  114. sim_lt = post_hoc.lifetimes(sim_stc)
  115. for name, stc in zip(stc_names[1:], stcs[1:]):
  116. print(f"\tComparing '{name}' with simulated data ...")
  117. stc_lt = post_hoc.lifetimes(stc)
  118. # stc_lt.shape = (n_states, n_activations)
  119. for i, lt in enumerate(stc_lt):
  120. res = ks_2samp(sim_lt[i], lt, method="auto")
  121. print(
  122. f"\t\tState {i + 1}: test statistic = {res.statistic:.4f}, "
  123. f"p-value = {res.pvalue:.4e}, significance = {res.pvalue < alpha_thr}"
  124. )
  125. print("Analysis complete.")

03_analyze_simulations.py at commit b78a86c, under MIT · at the source

Overview

  1. Oxford Centre for Integrative Neuroimaging (OxCIN), University of Oxford, Oxford, United Kingdom
  2. Nuffield Department of Clinical Neurosciences, University of Oxford, Oxford, United Kingdom
  3. Department of Psychiatry, University of Oxford, Oxford, United Kingdom
  4. Department of Engineering Science, University of Oxford, Oxford, United Kingdom
Institutions: University of Oxford (United Kingdom); Wellcome Centre for Integrative Neuroimaging (United Kingdom)
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1237
Dates: received 7 October 2025; accepted 13 April 2026; published online 26 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1237 · PMID 42212226 · PMCID PMC13214575 · OpenAlex W4414552642
Open access: diamond, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: MEG (modality), systems (subfield)
Methods: Spectral & time-frequency, Preprocessing, Connectivity, Statistics, Smoothing, state filtering, decompositions, Source localization, Machine learning, Physiology & signal measures
Keywords: dynamics, resting-state networks, electrophysiology, MEG, machine learning
Topic: Neural Networks and Applications (Artificial Intelligence, Computer Science), according to OpenAlex
Funding: Wellcome Trust (106183/Z/14/Z, 215573/Z/19/Z); National Institute for Health Research (NIHR) (NIHR203316)
Citations: not cited yet (Europe PMC); 57 references in the paper

Abstract

Functional brain network dynamics underlie fundamental aspects of human cognition and behaviour, including memory, ageing, and a range of clinical disorders. It has been shown that ongoing brain network dynamics can be reliably inferred at fast, sub-second timescales from electrophysiological data using unsupervised machine learning. However, these methods often struggle with inherent trade-offs. For example, Hidden Markov Models (HMMs) have been used to infer categorical brain network states that provide good interpretability but do not model long-range temporal structure. Recently, deep learning approaches using recurrent neural networks (e.g., Dynamic Network Modes) have been proposed to model long-range temporal dependencies, but at the expense of interpretability. In this paper, we introduce Dynamic Network States (DyNeStE) to address this problem. This new model employs amortised Bayesian inference with recurrent neural networks to model long-range temporal structure and uses a Gumbel-Softmax distribution to enforce categorical states for greater interpretability. In both simulations and real resting-state magnetoencephalography data, DyNeStE was able to recover plausible dynamic brain network states and showed superior performance over the HMM in capturing long-range temporal dependencies in network dynamics. These dynamic networks were reproducible across independent data splits and build on established HMM-based findings. Together, these results highlight DyNeStE as an interpretable and temporally informative framework, capable of representing large-scale neural activity as discrete state transitions while capturing transient and long-range brain network dynamics.

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 36 matches between paragraphs and lines of code.

OHBA-analysis/Cho2026_DyNeStE

License: MIT
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: b78a86c688b472741067ba8abaa5c14146d77888, 18 February 2026
Languages: Python (38)
Size: 45 files, 38 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (30 files), SciPy (8 files), pandas (6 files), seaborn (6 files), Matplotlib (5 files), MNE-Python (3 files), scikit-learn (1 file), TensorFlow (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
40 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;
  • 38 scripts, each with its path and the digest of its content;
  • 36 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

Datasets cited

Data and Code Availability

The Nottingham MEGUK dataset is publicly available at https://meguk.ac.uk/database/ (raw sensor-level MEG recordings) and at https://osf.io/by2tc/ (source reconstructed data). The Replay dataset is freely available upon request, subject to participant consent (Higgins et al., 2021; Liu et al., 2019).

The source code for DyNeStE can be found in the osl-dynamics toolbox (Gohil, Huang, et al., 2024), along with example scripts for basic usage. All scripts for reproducing the results, figures, and analyses in this paper are written in Python and available at https://github.com/OHBA-analysis/Cho2026_DyNeStE.

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, pages, dates, 5 authors, 5 keywords, 2 funders, 54 references.

Cite

This paper

Cho, S., Huang, R., Gohil, C., Jones, O. P., & Woolrich, M. W. (2026). Modelling discrete states and long-term dynamics in functional brain networks. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1237. https://doi.org/10.1162/imag.a.1237

BibTeX

@article{cho2026modelling,
author = {Cho, SungJun and Huang, Rukuang and Gohil, Chetan and Jones, Oiwi Parker and Woolrich, Mark W},
title = {{Modelling discrete states and long-term dynamics in functional brain networks}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = may,
volume = {4},
pages = {IMAG.a.1237},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1237},
url = {https://doi.org/10.1162/imag.a.1237},
pmid = {42212226},
pmcid = {PMC13214575}
}

RIS

TY - JOUR
AU - Cho, SungJun
AU - Huang, Rukuang
AU - Gohil, Chetan
AU - Jones, Oiwi Parker
AU - Woolrich, Mark W
TI - Modelling discrete states and long-term dynamics in functional brain networks
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/05/26
VL - 4
SP - IMAG.a.1237
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1237
UR - https://doi.org/10.1162/imag.a.1237
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1237",
"type": "article-journal",
"title": "Modelling discrete states and long-term dynamics in functional brain networks",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Cho",
"given": "SungJun"
},
{
"family": "Huang",
"given": "Rukuang"
},
{
"family": "Gohil",
"given": "Chetan"
},
{
"family": "Jones",
"given": "Oiwi Parker"
},
{
"family": "Woolrich",
"given": "Mark W"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1237",
"DOI": "10.1162/imag.a.1237",
"PMID": "42212226",
"PMCID": "PMC13214575",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1237",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
26
]
]
}
}

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.1101/2025.09.25.678554 [code]
Modelling Discrete States and Long-Term Dynamics in Functional Brain Networks
Journal: bioRxiv (preprint)
In common: OSF by2tc, MEG, 45 references, 5 authors
[2] doi:10.1002/hbm.70018 [code]
Comparison between EEG and MEG of static and dynamic resting-state networks.
Journal: Human brain mapping
In common: MNE-Python, seaborn, scikit-learn, 4 other tools, MEG, systems, 19 references, 2 authors
[3] doi:10.7554/elife.91949 [code]
osl-dynamics, a toolbox for modeling fast dynamic brain activity.
Journal: eLife
In common: MNE-Python, scikit-learn, pandas, 3 other tools, OSF by2tc, 10 references, 2 authors
[4] doi:10.1162/imag.a.1190 [code]
Canonical Hidden Markov Model Networks for studying M/EEG.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: MNE-Python, scikit-learn, pandas, 3 other tools, MEG, 16 references, author Chetan Gohil
[5] doi:10.1038/s41593-025-02052-8 [code]
Large-scale cortical functional networks are organized in structured cycles.
Journal: Nature neuroscience
In common: MNE-Python, scikit-learn, pandas, 3 other tools, MEG, 13 references, 2 authors
[6] doi:10.1002/hbm.70516 [code]
Effects of Age on Resting-State Cortical Networks.
Journal: Human brain mapping
In common: MNE-Python, scikit-learn, pandas, 3 other tools, MEG, 15 references, author Chetan Gohil
[7] doi:10.1162/imag.a.1188 [code]
Modelling variability in functional brain networks using embeddings.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: seaborn, scikit-learn, pandas, 3 other tools, systems, 12 references, author Rukuang Huang
[8] doi:10.1016/j.neuroimage.2022.119595 [code]
Mixtures of large-scale dynamic functional brain network modes.
Journal: NeuroImage
In common: MNE-Python, TensorFlow, seaborn, 5 other tools, 10 references, author Chetan Gohil
[9] doi:10.1162/imag.a.1301 [code]
MEG-GPT: A transformer-based foundation model for magnetoencephalography data.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: MNE-Python, TensorFlow, seaborn, 5 other tools, MEG, 8 references, author Chetan Gohil
[10] doi:10.1162/imag_a_00082 [code]
The GLM-spectrum: A multilevel framework for spectrum analysis with covariate and confound modelling.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: MNE-Python, scikit-learn, pandas, 3 other tools, 7 references, 2 authors

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1162/imag.a.1237.svg)](https://openscicode.org/badge/doi/10.1162/imag.a.1237)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1237.svg
   :target: https://openscicode.org/badge/doi/10.1162/imag.a.1237
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1237"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1237.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.