Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans.
One block of code here has 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 2 matches
- [1] § Results › Intrathecal Injections for Quantification of CSF-to-ISF Flow. ↔ ITexperiments.m, lines 14 to 68 · score 0.53 · tissue classes, ISF volume fraction, flow rates, subcortical, model · block
oscr:b:YM17F549FHJPE-C· Report a mismatch - [2] § Materials and Methods › A Model for CSF-to-ISF Inflow. ↔ ITexperiments.m, lines 14 to 68 · score 0.53 · tissue class, glymphatic flow, subcortical, modeling, ISF · block
oscr:b:YM17F549FHJPE-C· 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 · 127 lines · 4 KB · no license · 2 matches
- %% Code for the paper "Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans".
- %
- % Code-authors: Anders Wåhlin, Viktor Vigren Näslund, Anders Eklund
- %
- % gFlow is the function for estimating k1 and k2 from which CSF-to-ISF flow
- % rate and ISF volume fraction can be calculated.
- % getEstCt is a support function that calculates brain tissue concentrations given
- % a matrix of CSF concentrations (Nrois X time), as well as a given k1 and
- % k2 (or just as a function of k1 if extracellular volume fraction is fixed, using function suffix "_constantVe").
- %
- % Implementation below is all intrathecal Gd flow calculations from the paper.
- %% Main section
- clear all
- load dataset1.mat
- for pat = 1:14; %loop cases
- for tissueClass = 1:3 %loop tissue classes
- if tissueClass ==1 %Cortex, estimate ve
- it = dataset1(pat).it;
- concCSF = dataset1(pat).concCsf_Ctx;
- concTissue = dataset1(pat).concCtx;
- dt = dataset1(pat).dt;
- points=dataset1(pat).points;
- tissueVolume = dataset1(pat).volCtx
- k0 = zeros(1,2)
- fun1=@(k)ITmodel(k,it,concCSF,concTissue,dt,points); %fit the model
- [kest,fval,exitflag,output] = fminunc(fun1,k0);
- q(pat,tissueClass) = kest(1)*tissueVolume %Glymphatic flow rate
- ve(pat,tissueClass) = kest(1)/kest(2) %ISF volume fraction
- end
- if tissueClass ==2 %White matter, keep ve constant
- it = dataset1(pat).it;
- concCSF = dataset1(pat).concCsf_Wm;
- concTissue = dataset1(pat).concWm;
- dt = dataset1(pat).dt;
- points=dataset1(pat).points;
- tissueVolume = dataset1(pat).volWm
- k0 = zeros(1)
- fun1=@(k)ITmodel(k,it,concCSF,concTissue,dt,points,ve(pat,1)); %fit the model
- [kest,fval,exitflag,output] = fminunc(fun1,k0);
- q(pat,tissueClass) = kest(1)*tissueVolume %Glymphatic flow rate
- ve(pat,tissueClass) = ve(pat,1) %ISF volume fraction
- end
- if tissueClass ==3 %Subcortical, keep ve constant
- it = dataset1(pat).it;
- concCSF = dataset1(pat).concCsf_Subcor;
- concTissue = dataset1(pat).concSubcor;
- dt = dataset1(pat).dt;
- points=dataset1(pat).points;
- tissueVolume = dataset1(pat).volSubcor
- k0 = zeros(1)
- fun1=@(k)ITmodel(k,it,concCSF,concTissue,dt,points,ve(pat,1)); %fit the model
- [kest,fval,exitflag,output] = fminunc(fun1,k0);
- q(pat,tissueClass) = kest(1)*tissueVolume %Glymphatic flow rate
- ve(pat,tissueClass) = ve(pat,1) %ISF volume fraction
- end
- end
- end
- %% Support functions
- %%
- function estCt = getEstCt(k,it,ccsf,dt)
- % Estimates brain tissue concentrations provided a CSF concentrations
- % (Nrois X time), k1 and k2.
- % dt is the temporal resolution in hrs
- for i = 1:size(ccsf,1) %loop over ROIs
- estCt(i,:) = k(1)*convolution(ccsf(i,:)',exp(-k(2).*it'))*dt ;
- end
- end
- %%
- function estCt = getEstCt_constantVe(k,it,ccsf,dt,ve)
- % Estimates brain tissue concentrations provided a CSF concentrations
- % (Nrois X time), k1 and k2.
- % dt is the temporal resolution in hrs
- for i = 1:size(ccsf,1) %loop over ROIs
- estCt(i,:) = k(1)*convolution(ccsf(i,:)',exp(-k(1)/ve.*it'))*dt ;
- end
- end
- %%
- function sse = ITmodel(k,it,ccsf,ct,dt,points,ve)
- % Calculates the difference between measured (ct) and estimated brain tissue
- % concentrations provided CSF concentrations (ccsf), k1 and k2 (stored as a
- % vector k).
- % The vector points specifies time points where the difference is calculated, and dt is the temporal resolution in hrs
- switch nargin
- case 6 %ve estimated
- estCt = getEstCt(k,it,ccsf,dt);
- sse = sum(sum(((ct(:,points)-estCt(:,points)).^2)));
- case 7 %ve supplied
- estCt = getEstCt_constantVe(k,it,ccsf,dt,ve);
- sse = sum(sum(((ct(:,points)-estCt(:,points)).^2)));
- end
- end
- %%
- function c = convolution(a, b)
- c = conv2(a(:), b(:), 'full');
- c = c(1:size(a, 1));
- if isrow(a)
- c = c.';
- end
- end
ITexperiments.m at commit 12049d0, no license · at the source
Overview
- Department of Applied Physics and Electronics, Umeå University, Umeå S-90187, Sweden
- Department of Diagnostics and Intervention, Biomedical Engineering and Radiation Physics, Umeå University, Umeå S-90187, Sweden
- Umeå Center for Functional Brain Imaging, Umeå University, Umeå S-90187, Sweden
- Department of Diagnostics and Intervention, Diagnostic Radiology, Umeå University, Umeå S-90187, Sweden
- Department of Clinical Science, Neurosciences, Umeå University, Umeå S-90187, Sweden
- Department of Physics, Umeå University, Umeå S-90187, Sweden
- Department of Medical Physics, University of Wisconsin School of Medicine and Public Health, Madison, WI 53705-2275
- Umeå Centre for Microbial Research Umeå University, Umeå S-90187, Sweden
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
anderswahlin/CSF-TISSUE-EXCHANGE
12049d02acd037bf167a9bb4cefa447802bcb52c, 5 April 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
4 files
- ITexperiments.m, MATLAB, 127 lines, 2 matches
- IVexperiments.m, MATLAB, 81 lines
- itgflow.m, MATLAB, 66 lines
- README.md, Text, 127 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;
- 3 scripts, each with its path and the digest of its content;
- 2 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.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: anderswahlin/
CSF-TISSUE-EXCHANGE - it says that the data are available on request
Read it in the paper: doi.org/10.1073/pnas.2526239123.
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 21 authors, 5 keywords, 12 MeSH terms, 3 funders, 64 references.
Cite
This paper
Wåhlin, A., Behndig, S., Eriksson De Ryst, J., Vigren Näslund, V., Dahlgren Lindström, D., Axelsson, J., Björnfot, C., Bylund, M., Garpebring, A., Holmlund, P., Lalou, A., Mogensen, K., Nilsson, D. P. G., Qvarlander, S., Söderström, P., Vikner, T., Wiklund, K., Andersson, M., Riklund, K., . . . Eklund, A. (2026). Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans. Proceedings of the National Academy of Sciences of the United States of America, 123(18), e2526239123. https://
BibTeX
@article{wahlin2026quant
author = {Wåhlin, Anders and Behndig, Sofia and Eriksson De Ryst, Johan and Vigren Näslund, Viktor and Dahlgren Lindström, Daniel and Axelsson, Jan and Björnfot, Cecilia and Bylund, Mikael and Garpebring, Anders and Holmlund, Petter and Lalou, Afroditi and Mogensen, Klara and Nilsson, Daniel P. G. and Qvarlander, Sara and Söderström, Pontus and Vikner, Tomas and Wiklund, Krister and Andersson, Magnus and Riklund, Katrine and Malm, Jan and Eklund, Anders},
title = {{Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans}},
journal = {Proceedings of the National Academy of Sciences of the United States of America},
year = {2026},
month = apr,
volume = {123},
number = {18},
pages = {e2526239123},
publisher = {National Academy of Sciences},
issn = {0027-8424},
doi = {10.1073/
url = {https://
pmid = {42054362},
pmcid = {PMC13142984}
}
RIS
TY - JOUR
AU - Wåhlin, Anders
AU - Behndig, Sofia
AU - Eriksson De Ryst, Johan
AU - Vigren Näslund, Viktor
AU - Dahlgren Lindström, Daniel
AU - Axelsson, Jan
AU - Björnfot, Cecilia
AU - Bylund, Mikael
AU - Garpebring, Anders
AU - Holmlund, Petter
AU - Lalou, Afroditi
AU - Mogensen, Klara
AU - Nilsson, Daniel P. G.
AU - Qvarlander, Sara
AU - Söderström, Pontus
AU - Vikner, Tomas
AU - Wiklund, Krister
AU - Andersson, Magnus
AU - Riklund, Katrine
AU - Malm, Jan
AU - Eklund, Anders
TI - Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans
T2 - Proceedings of the National Academy of Sciences of the United States of America
J2 - Proc Natl Acad Sci U S A
PY - 2026
DA - 2026/
VL - 123
IS - 18
SP - e2526239123
SN - 0027-8424
PB - National Academy of Sciences
DO - 10.1073/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1073/
"type": "article-journal",
"title": "Quantitative assessment of flow between cerebrospinal and interstitial fluid compartments in humans",
"container-title": "Proceedings of the National Academy of Sciences of the United States of America",
"author": [
{
"family": "Wåhlin",
"given": "Anders"
},
{
"family": "Behndig",
"given": "Sofia"
},
{
"family": "Eriksson De Ryst",
"given": "Johan"
},
{
"family": "Vigren Näslund",
"given": "Viktor"
},
{
"family": "Dahlgren Lindström",
"given": "Daniel"
},
{
"family": "Axelsson",
"given": "Jan"
},
{
"family": "Björnfot",
"given": "Cecilia"
},
{
"family": "Bylund",
"given": "Mikael"
},
{
"family": "Garpebring",
"given": "Anders"
},
{
"family": "Holmlund",
"given": "Petter"
},
{
"family": "Lalou",
"given": "Afroditi"
},
{
"family": "Mogensen",
"given": "Klara"
},
{
"family": "Nilsson",
"given": "Daniel P. G."
},
{
"family": "Qvarlander",
"given": "Sara"
},
{
"family": "Söderström",
"given": "Pontus"
},
{
"family": "Vikner",
"given": "Tomas"
},
{
"family": "Wiklund",
"given": "Krister"
},
{
"family": "Andersson",
"given": "Magnus"
},
{
"family": "Riklund",
"given": "Katrine"
},
{
"family": "Malm",
"given": "Jan"
},
{
"family": "Eklund",
"given": "Anders"
}
],
"container-title-short":
"volume": "123",
"issue": "18",
"page": "e2526239123",
"DOI": "10.1073/
"PMID": "42054362",
"PMCID": "PMC13142984",
"ISSN": "0027-8424",
"publisher": "National Academy of Sciences",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
29
]
]
}
}
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.1186/s12987-024-00582-0 [code]
- Modeling CSF circulation and the glymphatic system during infusion using subject specific intracranial pressures and brain geometries.Journal: Fluids and barriers of the CNSIn common: other condition, 11 references, 2 authors
- [2] doi:10.1016/j.isci.2022.104987
- The glymphatic system: Current understanding and modeling.Journal: iScienceIn common: 15 references
- [3] doi:10.1002/mrm.70438 [code]
- Quantifying Cardiac, Respiratory, and Low Frequency Components of CSF Motion From fMRI Inflow Effects.Journal: Magnetic resonance in medicineIn common: Optimization Toolbox, 8 references, author Pontus Söderström
- [4] doi:10.1038/s41597-026-06564-1 [code]
- Human brain MRI data of intrathecally injected tracer evolution over 72 hours for data-integrated simulations.Journal: Scientific dataIn common: structural MRI / diffusion, 12 references
- [5] doi:10.1186/s12987-023-00459-8 [code]
- Human brain solute transport quantified by glymphatic MRI-informed biophysics during sleep and sleep deprivation.Journal: Fluids and barriers of the CNSIn common: structural MRI / diffusion, 11 references
- [6] doi:10.1101/2025.06.03.657596
- Heterogeneity in human brain clearance adds resilience against tauopathy – a computational model informed by glymphatic MRIJournal: bioRxiv (preprint)In common: structural MRI / diffusion, 10 references
- [7] doi:10.1186/s12987-021-00282-z
- The glymphatic hypothesis: the theory and the evidence.Journal: Fluids and barriers of the CNSIn common: 10 references
- [8] doi:10.1038/s41467-026-76306-9 [code]
- Non-invasive characterization of perivascular subarachnoid spaces.Journal: Nature communicationsIn common: Optimization Toolbox, structural MRI / diffusion, 8 references
- [9] doi:10.1186/s12987-026-00782-w
- Quantifying cerebrospinal fluid flow in pial perivascular spaces of rats.Journal: Fluids and barriers of the CNSIn common: 9 references
- [10] doi:10.1093/brain/awae411 [code]
- Loss of glymphatic homeostasis in heart failure.Journal: Brain : a journal of neurologyIn common: structural MRI / diffusion, 9 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, 3 scripts, and 2 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:b13707082530c6ca…
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.1073/pnas.2526239123)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1073/pnas.2526239123.svg
:target: https://openscicode.org/badge/doi/10.1073/pnas.2526239123
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1073/pnas.2526239123"><img src="https://openscicode.org/badge/doi/10.1073/pnas.2526239123.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.
