The turbulent brain: Modeling vortex interactions for understanding human cognition.
4 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 7 matches
- [1] § METHODS › CPM ↔ Behavior_Ceff_7T_v1.m, lines 89 to 144 · score 0.83 · training fold, CPM conventions, feature selection, standardized predictors, behavior, scores · block
oscr:b:F8CVWNP3X16S7-6· Report a mismatch - [2] § METHODS › Empirical fMRI Data › Preprocessing and extraction of functional timeseries in fMRI resting data. ↔ spiral_HCP100unrelated.m, lines 1 to 41 · score 0.69 · ft_read_cifti, FieldTrip, 0.008 Hz, filtering, Schaefer · block
oscr:b:HSTDYSPA2QFRD-T· Report a mismatch - [3] § METHODS › Theoretical Turbulent Vortices Framework › Spiral vorticity. ↔ spiral_HCP100unrelated.m, lines 43 to 175 · score 0.68 · phase vector field, smoothed, voxel, width, spiral, curl · block
oscr:b:4R4WCBTWMW1EE-T· Report a mismatch - [4] § METHODS › CPM ↔ Behavior_Ceff_7T_v1.m, lines 89 to 144 · score 0.60 · entire training, refitted, outer, fold, behavioral, scores · block
oscr:b:F8CVWNP3X16S7-6· Report a mismatch - [5] § RESULTS › Predicting Behavior From Modeling of Interactions Between Turbulent Vortices ↔ Behavior_Ceff_7T_v1.m, lines 21 to 63 · score 0.58 · Pic Vocab, Card Sort, PMAT24, Speed, behavior · block
oscr:b:9EBG7DA89XW3B-U· Report a mismatch - [6] § RESULTS › Predicting Behavior From Modeling of Interactions Between Turbulent Vortices ↔ Behavior_Ceff_7T_v1.m, lines 21 to 63 · score 0.57 · Card Sorting, crystallized, executive, PMAT24, Speed, behavioral · block
oscr:b:9EBG7DA89XW3B-U· Report a mismatch - [7] § METHODS › Theoretical Turbulent Vortices Framework › Spiral vorticity. ↔ spiral_HCP100unrelated.m, lines 43 to 175 · score 0.52 · phase vector field, spiral, curl, vertex · block
oscr:b:4R4WCBTWMW1EE-T· 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 · 180 lines · 4.8 KB · no license · 4 matches
- clear all
- path2=[ '../../Nonequilibrium/'];
- addpath(genpath(path2));
- path3=[ '../../Tenet/TENET/'];
- addpath(genpath(path3));
- path4=[ '../../TaskReservoir/DataHCP100ordered'];
- addpath(genpath(path4));
- path5=[ '../../TaskReservoir/DMF_Receptors'];
- addpath(genpath(path5));
- path6=[ '../../QuantumDiffMap/CHARM'];
- addpath(genpath(path6));
- path7=[ '../../EntropyProdandFlow/HCP'];
- addpath(genpath(path7));
- path8=[ '../../TurbuThermo/HCPrest'];
- addpath(genpath(path8));
- NSUB=182;
- load results_model_vortex_rest_7T.mat;
- %% Behav G-factor
- load('hcpbehaviouraldata.mat')
- load (['hcp7t_rfMRI_REST1_PA_schaefer1000.mat']);
- behav=hcpbehaviouraldata;
- for jj=1:1113
- behavsub(jj)=behav{jj,1};
- end
- for nsub=1:NSUB
- idsub=subject{nsub}.id;
- idx=find(idsub==behavsub);
- behav_PMAT24_A_CR(nsub)=behav{idx,122}; %% fluid int
- behav_ProcSpeed_Unadj(nsub)=behav{idx,129}; %% speed
- behav_CardSort_Unadj(nsub)=behav{idx,118}; %% executive
- behav_ListSort_Unadj(nsub)=behav{idx,158};
- behav_Flanker_Unadj(nsub)=behav{idx,120};
- behav_VSPLOT_TC(nsub)=behav{idx,145};
- behav_IWRD_TOT(nsub)=behav{idx,156};
- behav_PicSeq_Unadj(nsub)=behav{idx,116};
- behav_RedEng_Unadj(nsub)=behav{idx,125};
- behav_PicVocab_Unadj(nsub)=behav{idx,127}; %% crystallized int
- behav_all(1,nsub)=behav{idx,122};
- behav_all(2,nsub)=behav{idx,129};
- behav_all(3,nsub)=behav{idx,118};
- behav_all(4,nsub)=behav{idx,158};
- behav_all(5,nsub)=behav{idx,120};
- behav_all(6,nsub)=behav{idx,145};
- behav_all(7,nsub)=behav{idx,156};
- behav_all(8,nsub)=behav{idx,116};
- behav_all(9,nsub)=behav{idx,125};
- behav_all(10,nsub)=behav{idx,127};
- end
- % behav_y=behav_PMAT24_A_CR'; %% 334
- behav_y=behav_ProcSpeed_Unadj'; %% 200
- % behav_y=behav_CardSort_Unadj'; %% 234
- % behav_y=behav_PicVocab_Unadj'; %% 382
- [~ , indx]=find(isnan(behav_y'));
- behav_y(indx)=[];
- %% g factor
- [~, indx]=find(isnan(behav_all));
- % mean_measure= nanmean(behav_all,2);
- % for kk=1:size(a1,1)
- % behav_all(a1(kk),b1(kk))=mean_measure(a1(kk));
- % end
- behav_all(:,indx)=[];
- [lambda,psi,T,stats,F] = factoran(behav_all',1);
- behav_y=F;
- %% Start!!
- for nsub=1:NSUB
- % C=squeeze(Ceff(nsub,:,:));
- C=squeeze(FCempbold(nsub,:,:));
- Cvec(nsub,:)=C(:);
- end
- Cvec(indx,:)=[];
- Threshold2=0.14;%0.17
- alpha_EN=0.01;
- %%
- %% ===================================================
- % 1. Feature selection on entire dataset
- % ====================================================
- y = behav_y(:);
- Xall = Cvec;
- for i = 1:size(Xall,2)
- co2(i) = corr(Xall(:,i), y, 'rows','pairwise');
- end
- selected = find(abs(co2) > Threshold2); %,200);
- fprintf("Selected %d features.\n", length(selected));
- X = Xall(:, selected);
- % 2) Standardize predictors on full data (CPM convention)
- X = zscore(X); % you said you want this on full data
- % 3) Outer CV to get honest per-subject predictions
- for repe=1:100
- K = 10;
- cv = cvpartition(length(y),'KFold',K);
- yhat = zeros(size(y));
- for fold = 1:K
- % fprintf('Fold %d/%d\n', fold, K);
- train_idx = training(cv, fold);
- test_idx = test(cv, fold);
- Xtrain = X(train_idx, :);
- ytrain = y(train_idx);
- Xtest = X(test_idx, :);
- % Inside-fold: pick lambda with internal CV on the training set
- % NOTE: 'Standardize',false because we already z-scored globally by convention
- [B, FitInfo] = lasso(Xtrain, ytrain, 'Alpha', alpha_EN, 'CV', 10, 'Standardize', false);
- % Get lambda index that minimized MSE *on the training fold's internal CV*
- idxMin = FitInfo.IndexMinMSE;
- lambda_min = FitInfo.Lambda(idxMin);
- % Refit on the entire training set at the selected lambda
- % (lasso allows specifying Lambda to fit)
- [B_retrain, FitInfo2] = lasso( ...
- Xtrain, ytrain, ...
- 'Alpha', alpha_EN, ...
- 'Lambda', lambda_min, ...
- 'Standardize', false);
- intercept = FitInfo2.Intercept;
- % Predict test set
- yhat(test_idx) = Xtest * B_retrain + intercept;
- end
- %% ===================================================
- % 4. Metrics
- % ===================================================
- SST = sum((y - mean(y)).^2);
- SSE = sum((y - yhat).^2);
- R2 = 1 - SSE/SST;
- Corr = corr(y, yhat);
- fprintf('\n========== RESULTS ==========\n');
- fprintf('Cross-validated R2 = %.4f\n', R2);
- fprintf('Cross-validated Corr = %.4f\n', Corr);
- R2all(repe)=R2;
- Corrall(repe)=Corr;
- yhatall(repe,:)=yhat;
- end
- yhatall=squeeze(mean(yhatall));
- figure;
- violinplot([R2all' Corrall']);
- figure;
- scatter(yhatall,y,'filled');
- hold on;
- p = polyfit(yhatall, y, 1);
- xvals = linspace(min(yhatall), max(yhatall));
- plot(xvals, polyval(p, xvals), 'r', 'LineWidth', 2)
- hold off;
- [cc pp]=corrcoef(y,yhatall)
- cc
- pp
- save results_CPM_style_gfactor_FCbold.mat y yhatall R2all Corrall;
Behavior_Ceff_7T_v1.m at commit 0e40319, no license · at the source
Overview
- Center for Brain and Cognition, Computational Neuroscience Group, Faculty of Medicine and Life Science, Universitat Pompeu Fabra, Barcelona, Spain
- Institució Catalana de la Recerca i Estudis Avançats (ICREA), Barcelona, Spain
- International Centre for Flourishing, Universities of Oxford (UK), Aarhus (Denmark), and Pompeu Fabra (Spain)
- Department of Engineering, Universidad de San Andrés, Buenos Aires, Argentina
- Institute of Science and Technology for Brain-Inspired Intelligence, Fudan University, Shanghai, China
- Centre for Eudaimonia and Human Flourishing, Linacre College, University of Oxford, Oxford, UK
- Department of Psychiatry, University of Oxford, Oxford, UK
- Center for Music in the Brain, Department of Clinical Medicine, Aarhus University, Aarhus, Denmark
Abstract
The human brain needs distributed, time-critical computation to efficiently solve complex problems. Turbulence provides such highly efficient spacetime information processing and transmission across widespread brain networks, yet we have been missing a mechanistic understanding of the interactions of turbulent vortices underlying human cognition. Here, we build the first whole-brain model of turbulent vortices as defined by the levels of local synchronization in brain signals quantifying turbulent interactions in vortex space. Specifically, using large-scale human neuroimaging data, we found that the interactions of turbulent vortices is an excellent framework for understanding cognition and brain computation. In particular, we show that when combined with connectome-based predictive modeling, this significantly predict the g-factor and the scores on the underlying tasks. In addition, turbulent vortices also distinguish the detailed spacetime dynamics of rest and cognition—and can even distinguish between subtle subcomponents of cognitive tasks, where manipulation of vortices can be shown to change cognition. Overall, this whole-brain framework creates a natural vortex space for the brain computation underlying cognition, as well as potentially providing novel ways of controlling turbulent interactions in disease.
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 7 matches between paragraphs and lines of code.
decolab/TTB_modellingvortexinteraction
0e403199f9523a399083a028e71f0299d552af4b, 11 February 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
19 files
- Analysis_Ceff.m, MATLAB, 82 lines
- Analysis_Ceff_emo.m, MATLAB, 215 lines
- Analysis_Ceff_lang.m, MATLAB, 214 lines
- Analysis_Ceff_social.m, MATLAB, 82 lines
- Awakening_rest_social_bo
ld.m , MATLAB, 119 lines - Awakening_rest_social_vo
rtex.m , MATLAB, 119 lines - Behavior_Ceff_7T_v1.m, MATLAB, 180 lines, 4 matches
- Energy_vortex_vs_bold.m, MATLAB, 99 lines
- FC_prediction_Hopf_Task.
m , MATLAB, 18 lines - FCboldvortex_comparisson
.m , MATLAB, 200 lines - FCboldvortex_comparisson
1000.m , MATLAB, 162 lines - FDR_benjHoch.m, MATLAB, 119 lines
- hopf_int.m, MATLAB, 24 lines
- hopf_int_pert_sigma.m, MATLAB, 30 lines
- model_vortex_partition_r
est_vs_task.m , MATLAB, 373 lines - model_vortex_partition_s
ocial.m , MATLAB, 447 lines - model_vortex_partition_v
s_kura.m , MATLAB, 521 lines - slurm.sbatch_model_vorte
x_partition_rest_vs_task , MATLAB, 391 lines.m - spiral_HCP100unrelated.m
, MATLAB, 363 lines, 3 matches
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;
- 19 scripts, each with its path and the digest of its content;
- 7 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
The open-source MATLAB code can be found here: 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 2, 28 September 2026
- Funding: added National Research Foundation: DNRF117; Danmarks Grundforskningsfond: PID2022-136216NB-I00, DNRF 117, MICIU/AEI/10.13039/501100011033; HORIZON EUROPE Framework Programme: MICIU/AEI/10.13039/501100011033; Agència de Gestió d'Ajuts Universitaris i de Recerca: AEI/10.13039/501100011033, 10.13039/501100011033, 2021SGR00917, MICIU/AEI/ 10.13039/501100011033, 13039/501100011033; European Regional Development Fund: PID2022-136216NB-I00, 101071900, 10.13039/501100011033, 13039/501100011033, MICIU/ AEI /10.13039/501100011033, AEI/10.13039/501100011033, 501100011033, MICIU/AEI/10; Agencia Estatal de Investigación: AEI//10.13039/501100011033/, 501100011033, PID2022-136216NB-I00, MICIU/AEI /10.13039/501100011033, 10.13039/501100011033, 13039, 13039/501100011033, 10.13039, AEI/10
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 6 keywords, 57 references.
Cite
This paper
Deco, G., Sanz Perl, Y., Feng, J., & Kringelbach, M. L. (2026). The turbulent brain: Modeling vortex interactions for understanding human cognition. Network neuroscience (Cambridge, Mass.), 10(3), 630-654. https://
BibTeX
@article{deco2026turbule
author = {Deco, Gustavo and Sanz Perl, Yonatan and Feng, Jianfeng and Kringelbach, Morten L},
title = {{The turbulent brain: Modeling vortex interactions for understanding human cognition}},
journal = {Network neuroscience (Cambridge, Mass.)},
year = {2026},
month = jul,
volume = {10},
number = {3},
pages = {630--654},
publisher = {MIT Press},
issn = {2472-1751},
doi = {10.1162/
url = {https://
pmid = {42529694},
pmcid = {PMC13418524}
}
RIS
TY - JOUR
AU - Deco, Gustavo
AU - Sanz Perl, Yonatan
AU - Feng, Jianfeng
AU - Kringelbach, Morten L
TI - The turbulent brain: Modeling vortex interactions for understanding human cognition
T2 - Network neuroscience (Cambridge, Mass.)
J2 - Netw Neurosci
PY - 2026
DA - 2026/
VL - 10
IS - 3
SP - 630
EP - 654
SN - 2472-1751
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "The turbulent brain: Modeling vortex interactions for understanding human cognition",
"container-title": "Network neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Deco",
"given": "Gustavo"
},
{
"family": "Sanz Perl",
"given": "Yonatan"
},
{
"family": "Feng",
"given": "Jianfeng"
},
{
"family": "Kringelbach",
"given": "Morten L"
}
],
"container-title-short":
"volume": "10",
"issue": "3",
"page": "630-654",
"DOI": "10.1162/
"PMID": "42529694",
"PMCID": "PMC13418524",
"ISSN": "2472-1751",
"publisher": "MIT Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
20
]
]
}
}
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/netn_a_00346 [code]
- The evolution of whole-brain turbulent dynamics during recovery from traumatic brain injury.Journal: Network neuroscience (Cambridge, Mass.)In common: shadedErrorBar, GIfTI library for MATLAB, FieldTrip, 3 other tools, 11 references
- [2] doi:10.64898/2026.06.08.26355206
- A canary in the mind: A single baseline brain scan predicts adolescent depression and anxiety one year laterJournal: medRxiv (preprint)In common: 18 references
- [3] doi:10.1126/sciadv.ade6049 [code]
- Toward naturalistic neuroscience: Mechanisms underlying the flattening of brain hierarchy in movie-watching compared to rest and task.Journal: Science advancesIn common: Violinplot-Matlab, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 15 references
- [4] doi:10.1038/s41380-024-02690-7 [code]
- Whole-brain turbulent dynamics predict responsiveness to pharmacological treatment in major depressive disorder.Journal: Molecular psychiatryIn common: Violinplot-Matlab, GIfTI library for MATLAB, FieldTrip, 3 other tools, 9 references
- [5] doi:10.1038/s42003-022-03576-6 [code]
- Unifying turbulent dynamics framework distinguishes different brain states.Journal: Communications biologyIn common: Optimization Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 11 references
- [6] doi:10.1371/journal.pcbi.1010662 [code]
- Strength-dependent perturbation of whole-brain model working in different regimes reveals the role of fluctuations in brain dynamics.Journal: PLoS computational biologyIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 12 references
- [7] doi:10.1038/s42003-022-03505-7 [code]
- The INSIDEOUT framework provides precise signatures of the balance of intrinsic and extrinsic dynamics in brain states.Journal: Communications biologyIn common: Violinplot-Matlab, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 11 references
- [8] doi:10.1162/netn_a_00300 [code]
- The arrow of time of brain signals in cognition: Potential intriguing role of parts of the default mode network.Journal: Network neuroscience (Cambridge, Mass.)In common: cognitive, 13 references
- [9] doi:10.1038/s41593-025-02052-8 [code]
- Large-scale cortical functional networks are organized in structured cycles.Journal: Nature neuroscienceIn common: shadedErrorBar, GIfTI library for MATLAB, FieldTrip, 2 other tools, cognitive, 5 references
- [10] doi:10.1016/j.neuroimage.2022.119433 [code]
- Metastability, fractal scaling, and synergistic information processing: What phase relationships reveal about intrinsic brain activity.Journal: NeuroImageIn common: Violinplot-Matlab, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 8 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, 19 scripts, and 7 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:c7a377c9681b5b1d…
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.1162/netn.a.554)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1162/netn.a.554.svg
:target: https://openscicode.org/badge/doi/10.1162/netn.a.554
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/netn.a.554"><img src="https://openscicode.org/badge/doi/10.1162/netn.a.554.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.
