OSCR

Modelling variability in functional brain networks using embeddings.

Code ↔ Paper

12 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.

9 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 12 matches
  1. [1] § Methods › Datasets › Real MEG data ↔ data_preprocessing/wakeman_henson/1_preprocess.py, lines 11 to 44 · score 0.86 · notch filter, bad segment, Wakeman Henson, 125 Hz, ECG, EoG · block oscr:b:SGXFWY33Q4EX8-R · Report a mismatch
  2. [2] § Methods › Datasets › Real MEG data ↔ data_preprocessing/notts/1_preprocess.py, lines 14 to 52 · score 0.85 · notch filter, bad segment, bad channel, 125 Hz, ECG, EoG · block oscr:b:KW3FC54ZCKS8P-K · Report a mismatch
  3. [3] § Results › Real MEG data › Wakeman Henson: HIVE reveals similarities and differences between MEG recordings ↔ real_data/wakeman_henson/analyse_and_plot.py, lines 253 to 311 · score 0.78 · Calinski Harabasz score, Davies Bouldin score, Silhouette score, HMM DE, clusters, dual · block oscr:b:E5E3AV1DABNVC-U · Report a mismatch
  4. [4] § Results › Real MEG data › Wakeman Henson: HIVE reveals similarities and differences between MEG recordings ↔ real_data/multi_dataset/analyse_and_plot.py, lines 483 to 551 · score 0.77 · Calinski Harabasz score, Davies Bouldin score, Silhouette score, HMM DE, clusters, dual · block oscr:b:HX4440M9JCY9F-I · Report a mismatch
  5. [5] § Results › Real MEG data › Wakeman Henson: HIVE reveals similarities and differences between MEG recordings ↔ real_data/wakeman_henson/analyse_and_plot.py, lines 253 to 311 · score 0.74 · Calinski Harabasz score, negative Davies Bouldin, Silhouette score, Wakeman Henson, HMM DE, Clustering · block oscr:b:E5E3AV1DABNVC-U · Report a mismatch
  6. [6] § Results › Real MEG data › Wakeman Henson: HIVE reveals similarities and differences between MEG recordings ↔ real_data/multi_dataset/analyse_and_plot.py, lines 483 to 551 · score 0.72 · Calinski Harabasz score, negative Davies Bouldin, Silhouette score, HMM DE, Clustering, HIVE · block oscr:b:HX4440M9JCY9F-I · Report a mismatch
  7. [7] § Results › Real MEG data › Cam-CAN: HIVE reveals individual variability across age ↔ real_data/camcan/predict_age.py, lines 87 to 147 · score 0.62 · cross validation, predict age, folds, demographics, dimensions, training · block oscr:b:AE9XEWEMTE41B-R · Report a mismatch
  8. [8] § Methods › Datasets › Real MEG data ↔ data_preprocessing/notts/3_source_reconstruct.py, lines 88 to 129 · score 0.61 · Source reconstruction, surfaces, beamformer, nose, symmetric, Coregistration · block oscr:b:9EW3EW89M0KKQ-5 · Report a mismatch
  9. [9] § Methods › Datasets › Real MEG data ↔ data_preprocessing/wakeman_henson/2_source_reconstruct.py, lines 34 to 81 · score 0.60 · Source reconstruction, surfaces, beamformer, nose, symmetric, Coregistration · block oscr:b:TKB8HJARV2X9B-F · Report a mismatch
  10. [10] § Results › Real MEG data › Cam-CAN: HIVE reveals individual variability across age ↔ real_data/camcan/hive.py, lines 92 to 226 · score 0.58 · nearest neighbours, power maps, young, Centroids, PSDs, age · block oscr:b:K2TWFHN6DT968-X · Report a mismatch
  11. [11] § Results › Real MEG data › Cam-CAN: HIVE reveals individual variability across age ↔ real_data/camcan/analyse_and_plot.py, lines 258 to 368 · score 0.57 · nearest neighbours, power maps, young, Centroids, PSDs, age · block oscr:b:S4HWS9MPYM10H-E · Report a mismatch
  12. [12] § Results › Real MEG data › Cam-CAN: HIVE reveals individual variability across age ↔ real_data/camcan/predict_age.py, lines 87 to 147 · score 0.55 · age prediction, cross validated, fold, PCA, dimensions, HMM · block oscr:b:AE9XEWEMTE41B-R · 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 · 347 lines · 9.7 KB · MIT · 2 matches

  1. import os
  2. from glob import glob
  3. from collections import defaultdict
  4. import numpy as np
  5. import pickle
  6. import matplotlib.pyplot as plt
  7. from scipy.stats import ttest_ind
  8. from scipy.spatial.distance import pdist, squareform
  9. from sklearn.metrics import (
  10. davies_bouldin_score,
  11. silhouette_score,
  12. calinski_harabasz_score,
  13. )
  14. from osl_dynamics.utils import plotting, set_random_seed
  15. from osl_dynamics.inference import tf_ops
  16. from osl_dynamics.models import hive
  17. from osl_dynamics.data import Data
  18. from osl_dynamics.analysis import spectral, power, connectivity
  19. tf_ops.gpu_growth()
  20. set_random_seed(0)
  21. def get_best_dimension(dimensions, significance_level=0.01):
  22. best_dim = dimensions[0]
  23. fe_1 = [
  24. pickle.load(open(f"results/hive_{best_dim}/run{i}/model/history.pkl", "rb"))[
  25. "free_energy"
  26. ]
  27. for i in range(1, 11)
  28. ]
  29. for i in range(len(dimensions) - 1):
  30. dim = dimensions[i + 1]
  31. fe_2 = [
  32. pickle.load(open(f"results/hive_{dim}/run{i}/model/history.pkl", "rb"))[
  33. "free_energy"
  34. ]
  35. for i in range(1, 11)
  36. ]
  37. pvalue = ttest_ind(fe_1, fe_2, alternative="greater", permutations=5000).pvalue
  38. print(f"p-value for {best_dim} vs {dim}: {pvalue}")
  39. if pvalue < significance_level:
  40. best_dim = dim
  41. fe_1 = fe_2
  42. print(f"Best dimension: {best_dim}")
  43. return best_dim
  44. def get_best_hive_run(dim):
  45. best_fe = np.Inf
  46. for run in range(1, 11):
  47. history = pickle.load(
  48. open(f"results/hive_{dim}/run{run}/model/history.pkl", "rb")
  49. )
  50. if history["loss"][-1] < best_fe:
  51. best_fe = history["loss"][-1]
  52. best_run = run
  53. print(f"Best HIVE run: {best_run}")
  54. return best_run
  55. def get_best_hmm_run():
  56. best_fe = np.Inf
  57. for run in range(1, 11):
  58. history = pickle.load(open(f"results/hmm/run{run}/model/history.pkl", "rb"))
  59. if history["loss"][-1] < best_fe:
  60. best_fe = history["loss"][-1]
  61. best_run = run
  62. print(f"Best HMM run: {best_run}")
  63. return best_run
  64. def load_data(use_tfrecord=True, buffer_size=2000, n_jobs=16):
  65. """Load the data."""
  66. data_paths = sorted(
  67. glob(
  68. "/well/woolrich/projects/wakeman_henson/spring23/src/sub*_run*/sflip_parc-raw.fif"
  69. )
  70. )
  71. training_data = Data(
  72. data_paths,
  73. sampling_frequency=250,
  74. mask_file="MNI152_T1_8mm_brain.nii.gz",
  75. parcellation_file="fmri_d100_parcellation_with_PCC_reduced_2mm_ss5mm_ds8mm.nii.gz",
  76. picks="misc",
  77. reject_by_annotation="omit",
  78. use_tfrecord=use_tfrecord,
  79. buffer_size=buffer_size,
  80. n_jobs=n_jobs,
  81. )
  82. return training_data
  83. best_dim = get_best_dimension([3, 5, 10, 20, 30])
  84. best_hive_run = get_best_hive_run(best_dim)
  85. hive_loss = pickle.load(
  86. open(f"results/hive_{best_dim}/run{best_hive_run}/model/history.pkl", "rb")
  87. )["loss"]
  88. best_hmm_run = get_best_hmm_run()
  89. hmm_loss = pickle.load(open(f"results/hmm/run{best_hmm_run}/model/history.pkl", "rb"))[
  90. "loss"
  91. ]
  92. model = hive.Model.load(f"results/hive_{best_dim}/run{best_hive_run}/model")
  93. inf_params_dir = f"results/hive_{best_dim}/run{best_hive_run}/inf_params"
  94. best_run_dir = f"results/best_run"
  95. os.makedirs(best_run_dir, exist_ok=True)
  96. plot_dir = f"{best_run_dir}/plots"
  97. os.makedirs(plot_dir, exist_ok=True)
  98. plotting.plot_line(
  99. [range(len(hive_loss)), range(len(hmm_loss))],
  100. [hive_loss, hmm_loss],
  101. labels=["HIVE", "HMM-DE"],
  102. filename=f"{plot_dir}/loss.png",
  103. )
  104. alpha = pickle.load(open(f"{inf_params_dir}/alp.pkl", "rb"))
  105. embeddings = np.load(f"{inf_params_dir}/summed_embeddings.npy")
  106. plotting.plot_alpha(
  107. alpha[0],
  108. n_samples=2000,
  109. cmap="tab10",
  110. filename=f"{plot_dir}/alpha.png",
  111. )
  112. # Pairwise correlation between subject embeddings
  113. se_cosine = squareform(pdist(embeddings, metric="cosine"))
  114. fig, ax = plotting.plot_matrices(
  115. se_cosine,
  116. cmap="coolwarm",
  117. )
  118. ax[0][0].set_xticks(
  119. ticks=np.arange(0, 114, 6) + 3, labels=[f"{i + 1}" for i in range(19)]
  120. )
  121. ax[0][0].set_yticks(
  122. ticks=np.arange(0, 114, 6) + 3, labels=[f"{i + 1}" for i in range(19)]
  123. )
  124. fig.savefig(f"{plot_dir}/embeddings_cosine.png")
  125. training_data = load_data(n_jobs=16)
  126. trimmed_data = training_data.trim_time_series(
  127. sequence_length=200,
  128. n_embeddings=15,
  129. prepared=False,
  130. )
  131. spectra = spectral.multitaper_spectra(
  132. data=trimmed_data,
  133. alpha=alpha,
  134. sampling_frequency=250,
  135. n_jobs=16,
  136. )
  137. pickle.dump(spectra, open(f"{inf_params_dir}/spectra.pkl", "wb"))
  138. f, psd, coh = pickle.load(open(f"{inf_params_dir}/spectra.pkl", "rb"))
  139. nnmf = spectral.decompose_spectra(coh, n_components=2)
  140. np.save(f"{inf_params_dir}/nnmf_2.npy", nnmf)
  141. f, psd, coh = pickle.load(open(f"{inf_params_dir}/spectra.pkl", "rb"))
  142. frequency_range = [1, 45]
  143. n_components = nnmf.shape[0]
  144. plotting.plot_line(
  145. [f] * n_components,
  146. nnmf,
  147. labels=[f"Component {i}" for i in range(n_components)],
  148. x_label="Frequency (Hz)",
  149. y_label="Weighting",
  150. )
  151. # Calculate group average
  152. gpsd = np.average(psd, axis=0)
  153. gcoh = np.average(coh, axis=0)
  154. # Calculate average PSD across channels and the standard error
  155. p = np.mean(gpsd, axis=-2)
  156. e = np.std(gpsd, axis=-2) / np.sqrt(gpsd.shape[-2])
  157. # Plot PSDs
  158. n_states = gpsd.shape[0]
  159. fig, axes = plt.subplots(1, 6, figsize=(36, 6))
  160. for i in range(model.config.n_states):
  161. plotting.plot_line(
  162. [f],
  163. [p[i]],
  164. errors=[[p[i] - e[i]], [p[i] + e[i]]],
  165. labels=[f"State {i + 1}"],
  166. x_range=[f[0], f[-1]],
  167. y_range=[p.min() - 0.1 * p.max(), 1.2 * p.max()],
  168. x_label="Frequency (Hz)",
  169. y_label="PSD (a.u.)",
  170. ax=axes[i],
  171. )
  172. axes[i].axvspan(
  173. frequency_range[0],
  174. frequency_range[1],
  175. alpha=0.25,
  176. color="gray",
  177. )
  178. fig.savefig(f"{plot_dir}/spectra_psd.png")
  179. gp = power.variance_from_spectra(f, gpsd, nnmf)
  180. power.save(
  181. gp,
  182. mask_file=training_data.mask_file,
  183. parcellation_file=training_data.parcellation_file,
  184. subtract_mean=True,
  185. show_plots=False,
  186. filename=f"{plot_dir}/psd.png",
  187. combined=True,
  188. titles=[f"Mode {i+1}" for i in range(model.config.n_states)],
  189. plot_kwargs={"views": ["lateral"]},
  190. )
  191. gc = connectivity.mean_coherence_from_spectra(f, gcoh, nnmf)
  192. gc = connectivity.threshold(gc, percentile=97, subtract_mean=True)
  193. connectivity.save(
  194. gc,
  195. parcellation_file=training_data.parcellation_file,
  196. combined=True,
  197. titles=[f"Mode {i+1}" for i in range(model.config.n_states)],
  198. filename=f"{plot_dir}/coh.png",
  199. )
  200. clustering_scores = {
  201. "hmm": defaultdict(list),
  202. "hive": defaultdict(list),
  203. }
  204. subject_labels = np.repeat(np.arange(19), 6)
  205. for model in ["hmm", "hive"]:
  206. model_dir = f"results/{model}"
  207. for run in range(1, 11):
  208. if model == "hive":
  209. covs = np.load(
  210. f"{model_dir}_{best_dim}/run{run}/inf_params/session_covs.npy"
  211. )
  212. else:
  213. covs = np.load(f"{model_dir}/run{run}/dual_estimates/covs.npy")
  214. covs_flatten = np.array([cov.flatten() for cov in covs])
  215. clustering_scores[model]["silhouette"].append(
  216. silhouette_score(covs_flatten, subject_labels)
  217. )
  218. clustering_scores[model]["davies_bouldin"].append(
  219. davies_bouldin_score(covs_flatten, subject_labels)
  220. )
  221. clustering_scores[model]["calinski_harabasz"].append(
  222. calinski_harabasz_score(covs_flatten, subject_labels)
  223. )
  224. plotting.plot_violin(
  225. np.array(
  226. [
  227. clustering_scores["hive"]["silhouette"],
  228. clustering_scores["hmm"]["silhouette"],
  229. ]
  230. ),
  231. ["HIVE", "HMM-DE"],
  232. title="Silhouette score",
  233. y_label="Score",
  234. sns_kwargs={"cut": 0, "scale": "width"},
  235. filename=f"{plot_dir}/silhouette_scores.png",
  236. )
  237. plotting.plot_violin(
  238. 1
  239. - np.array(
  240. [
  241. clustering_scores["hive"]["davies_bouldin"],
  242. clustering_scores["hmm"]["davies_bouldin"],
  243. ]
  244. ),
  245. ["HIVE", "HMM-DE"],
  246. title="Negative Davies-Bouldin score",
  247. y_label="Score",
  248. sns_kwargs={"cut": 0, "scale": "width"},
  249. filename=f"{plot_dir}/davies_bouldin_scores.png",
  250. )
  251. plotting.plot_violin(
  252. np.array(
  253. [
  254. clustering_scores["hive"]["calinski_harabasz"],
  255. clustering_scores["hmm"]["calinski_harabasz"],
  256. ]
  257. ),
  258. ["HIVE", "HMM-DE"],
  259. title="Calinski-Harabasz score",
  260. y_label="Score",
  261. sns_kwargs={"cut": 0, "scale": "width"},
  262. filename=f"{plot_dir}/calinski_harabasz_scores.png",
  263. )
  264. best_hmm_covs = np.load(f"results//hmm/run{best_hmm_run}/dual_estimates/covs.npy")
  265. best_hive_covs = np.load(
  266. f"results/hive_{best_dim}/run{best_hive_run}/inf_params/session_covs.npy"
  267. )
  268. best_hmm_covs_flatten = np.array([cov.flatten() for cov in best_hmm_covs])
  269. best_hive_covs_flatten = np.array([cov.flatten() for cov in best_hive_covs])
  270. # Get the pairwise distances
  271. hmm_pdist = squareform(pdist(best_hmm_covs_flatten, metric="euclidean"))
  272. hive_pdist = squareform(pdist(best_hive_covs_flatten, metric="euclidean"))
  273. fig, ax = plotting.plot_matrices(
  274. [
  275. hive_pdist,
  276. hmm_pdist,
  277. ],
  278. titles=["HIVE", "HMM-DE"],
  279. cmap="coolwarm",
  280. )
  281. ax[0][0].set_xticks(
  282. ticks=np.arange(0, 114, 6) + 3,
  283. labels=[f"{i + 1}" for i in range(19)],
  284. fontsize=6,
  285. )
  286. ax[0][0].set_yticks(
  287. ticks=np.arange(0, 114, 6) + 3,
  288. labels=[f"{i + 1}" for i in range(19)],
  289. fontsize=6,
  290. )
  291. plt.setp(ax[0][0].get_xticklabels(), rotation=45)
  292. ax[0][1].set_xticks(
  293. ticks=np.arange(0, 114, 6) + 3,
  294. labels=[f"{i + 1}" for i in range(19)],
  295. fontsize=6,
  296. )
  297. ax[0][1].set_yticks(
  298. ticks=np.arange(0, 114, 6) + 3,
  299. labels=[f"{i + 1}" for i in range(19)],
  300. fontsize=6,
  301. )
  302. plt.setp(ax[0][1].get_xticklabels(), rotation=45)
  303. fig.savefig(f"{plot_dir}/covs_pairwise_distances.png")

analyse_and_plot.py at commit 7456b9a, under MIT · at the source

Overview

Authors: Rukuang Huang1, Chetan Gohil1, Mark Woolrich1
ORCID iDs: Rukuang Huang
  1. Oxford Centre for Human Brain Activity (OHBA), Wellcome Centre for Integrative Neuroimaging, Department of Psychiatry, 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.1188
Dates: received 31 July 2024; accepted 24 February 2026; published online 17 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1188 · PMID 42016560 · PMCID PMC13094015 · OpenAlex W7135035904
Open access: diamond, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: systems (subfield)
Methods: Spectral & time-frequency, Preprocessing, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning
Keywords: functional connectivity, population modelling, unsupervised learning, generative modelling, Bayesian modelling
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Engineering and Physical Sciences Research Council (EP/S02428X/1); Wellcome Trust (215573/Z/19/Z, 106183/Z/14/Z); NIHR Oxford Biomedical Research Centre (NIHR203316)
Citations: cited by 4 papers (Europe PMC); 69 references in the paper

Abstract

Functional neuroimaging techniques allow us to estimate functional networks that underlie cognition. However, these functional networks are often estimated at the group level and do not allow for the discovery of, nor benefit from, subpopulation structure in the data, that is, the fact that some recording sessions may be more similar than others. Here, we propose the use of embedding vectors (c.f. word embedding in Natural Language Processing) to explicitly model individual sessions while inferring networks across a group. This vector is effectively a “fingerprint” for each session, which can cluster sessions with similar functional networks together in a learnt embedding space. We apply this approach to estimate dynamic functional networks using a hierarchical Hidden Markov Model (HMM). We call this approach HIVE (HMM with Integrated Variability Estimation). Using simulated data, we show that HIVE can uncover true subpopulation structure and show improved performance over existing approaches. Using real magnetoencephalography data, we show the learnt embedding vectors (session fingerprints) reflect meaningful sources of variation across a population. Overall, HIVE provides a powrful new approach for modelling individual sessions while leveraging information available across an entire group.

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

OHBA-analysis/Huang2025_ModelVariabilityWithEmbeddings

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 7456b9af6601e253f6728823e2c99b14e2d3e9ec, 26 February 2025
Languages: Python (27)
Size: 32 files, 27 scripts
Software Heritage: not archived
Found in: the text, “Results”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (14 files), OHBA Software Library (OSL) (11 files), Matplotlib (8 files), pandas (8 files), scikit-learn (7 files), SciPy (6 files), seaborn (6 files), NiBabel (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
29 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;
  • 27 scripts, each with its path and the digest of its content;
  • 12 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

Data used are publicly available. Availability of the Nottingham dataset is at the official MEGUK site: https://meguk.ac.uk/database/. For the Wakeman-Henson dataset, we refer the readers to the original paper (Wakeman & Henson, 2015). For the Cam-CAN dataset, we refer the readers to the original paper (J. R. Taylor et al., 2017). Source code for HIVE is available in the osl-dynamics toolbox (Gohil et al., 2023) and scripts to reproduce results in this paper are available here:

github.com/OHBA-analysis/Huang2025_ModelVariabilityWithEmbeddings.

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

Recorded: type, language, journal, volume, pages, dates, 3 authors, 5 keywords, 3 funders, 66 references.

Cite

This paper

Huang, R., Gohil, C., & Woolrich, M. (2026). Modelling variability in functional brain networks using embeddings. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1188. https://doi.org/10.1162/imag.a.1188

BibTeX

@article{huang2026modelling,
author = {Huang, Rukuang and Gohil, Chetan and Woolrich, Mark},
title = {{Modelling variability in functional brain networks using embeddings}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = apr,
volume = {4},
pages = {IMAG.a.1188},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1188},
url = {https://doi.org/10.1162/imag.a.1188},
pmid = {42016560},
pmcid = {PMC13094015}
}

RIS

TY - JOUR
AU - Huang, Rukuang
AU - Gohil, Chetan
AU - Woolrich, Mark
TI - Modelling variability in functional brain networks using embeddings
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/04/17
VL - 4
SP - IMAG.a.1188
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1188
UR - https://doi.org/10.1162/imag.a.1188
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1188",
"type": "article-journal",
"title": "Modelling variability in functional brain networks using embeddings",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Huang",
"given": "Rukuang"
},
{
"family": "Gohil",
"given": "Chetan"
},
{
"family": "Woolrich",
"given": "Mark"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1188",
"DOI": "10.1162/imag.a.1188",
"PMID": "42016560",
"PMCID": "PMC13094015",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1188",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
17
]
]
}
}

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.1162/imag.a.1301 [code]
MEG-GPT: A transformer-based foundation model for magnetoencephalography data.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: NiBabel, seaborn, scikit-learn, 4 other tools, 15 references
[2] doi:10.1162/imag.a.1237 [code]
Modelling discrete states and long-term dynamics in functional brain networks.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: seaborn, scikit-learn, pandas, 3 other tools, systems, 12 references, author Rukuang Huang
[3] doi:10.1002/hbm.70018 [code]
Comparison between EEG and MEG of static and dynamic resting-state networks.
Journal: Human brain mapping
In common: OHBA Software Library (OSL), NiBabel, seaborn, 5 other tools, systems, 13 references
[4] doi:10.1162/imag.a.1190 [code]
Canonical Hidden Markov Model Networks for studying M/EEG.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: OHBA Software Library (OSL), NiBabel, scikit-learn, 4 other tools, 12 references
[5] doi:10.7554/elife.91949 [code]
osl-dynamics, a toolbox for modeling fast dynamic brain activity.
Journal: eLife
In common: OHBA Software Library (OSL), NiBabel, scikit-learn, 4 other tools, 7 references, author Rukuang Huang
[6] doi:10.1101/2025.09.25.678554 [code]
Modelling Discrete States and Long-Term Dynamics in Functional Brain Networks
Journal: bioRxiv (preprint)
In common: 11 references, author Rukuang Huang
[7] doi:10.1002/hbm.70516 [code]
Effects of Age on Resting-State Cortical Networks.
Journal: Human brain mapping
In common: OHBA Software Library (OSL), NiBabel, scikit-learn, 4 other tools, 10 references
[8] doi:10.1038/s41593-025-02052-8 [code]
Large-scale cortical functional networks are organized in structured cycles.
Journal: Nature neuroscience
In common: OHBA Software Library (OSL), NiBabel, scikit-learn, 4 other tools, 9 references
[9] doi:10.1016/j.neuroimage.2022.119595 [code]
Mixtures of large-scale dynamic functional brain network modes.
Journal: NeuroImage
In common: NiBabel, seaborn, scikit-learn, 4 other tools, 10 references
[10] doi:10.1038/s41531-026-01372-1 [code]
Varying patterns of association between cortical large-scale networks and subthalamic nucleus activity in Parkinson's disease.
Journal: NPJ Parkinson's disease
In common: OHBA Software Library (OSL), NiBabel, seaborn, 5 other tools, systems, 6 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.

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

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

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