Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation.
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 1 match
- [1] § Methods › Experimental model validation › Flow-mediated dilation test ↔ InVivo_Experiments/Run_FMD_experiment.m, lines 1 to 58 · score 0.60 · shear stress, Shear rate, mmHg, diameter · block
oscr:b:RZK97YYQ8Y7SM-0· 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 · 257 lines · 7.1 KB · MIT · 1 match
- %% This script uses data from - which can be obtain via reasonable request to Philip Ainslie:
- % Carr, Jay MJR, et al. "Internal carotid and brachial artery
- % shear‐dependent vasodilator function in young healthy humans."
- % The Journal of physiology 598.23 (2020): 5333-5350. Figure 2B
- j = 1; %for indexing if you are going through more than 1 data sets
- endot= [20]; %endothelial response time (tau_endo)
- cuttime = [150]
- dat = readtable(['cFMD-Table 1.csv'], 'ReadRowNames',false, 'ReadVariableNames', true);
- CBFv1 = dat.ShearRate_1_s_;
- diameter = dat.ContinuousDiameter_cm_;
- time = dat.Time;
- %Smooth and interpolate:
- CBFv = movmean(CBFv1, 10, 'omitmissing');
- diam = movmean(diameter, 10, 'omitmissing');
- CBF(:,1) = time;
- cPerc = (CBFv)/CBFv(1)-1;
- dPerc = diam/diam(1)-1;
- %convert shear stress to CBF
- %convert diam to radius of 0.1:
- sc = diam(1,1)/0.1;
- CBF(:,2) = CBFv.*pi.*(diam./sc).^2;%Divide by 4 to convert to radius of 0.1
- CBF(:,2) = CBF(:,2);%+0.6*rand(size(CBF(:,2)));
- %remove nans:
- cut = find(isnan(CBF(:,2)));
- time(cut) = [];
- CBF(cut,:) = [];
- diam(cut) = [];
- CBFv(cut) = [];
- cut = find(isnan(CBF(:,1)));
- time(cut) = [];
- CBF(cut,:) = [];
- diam(cut) = [];
- CBFv(cut) = [];
- cut = find(time > cuttime(j))
- time(cut) = [];
- CBF(cut,:) = [];
- diam(cut) = [];
- CBFv(cut) = [];
- cut = find(time < cutstart(j))
- time(cut) = [];
- CBF(cut,:) = [];
- diam(cut) = [];
- CBFv(cut) = [];
- Press = 70.*ones(size(CBF)); %Assume pressure is normal CPP = 70 mmHg
- load("FakeData/FMD/Paramvals.mat")
- %%
- paramvals(7) = 1; %endothelial mechanism
- paramvals(4) = endot(j);
- paramvals(8) = 1;
- paramvals(6) = 1;
- paramvals(5) = 1;
- paramvals(2) = CBF(1,2);
- try
- paramvals(10) = ECO2(1,2);
- catch
- paramvals(10) = 40;
- end
- %
- % paramvals(7) = 1;
- % paramvals(1) = 0.1;
- % paramvals(3) =1.5;
- % paramvals(14) = 6;
- % paramvals(4) = 35
- IC = [paramvals(2), paramvals(1), 0, 0, 0, 0, 0, 0, 0];
- %figure(2), plot(time, CBF(:,2)), ylabel('Flow'), yyaxis right, plot(time, diam), ylabel('Diam')
- for i = 1:5
- if i == 1
- paramvals(6:8) = [1,1,1]
- tit ='Metabolic, Myogenic, and Endothelial Mechanisms'
- ct = 5
- elseif i == 2
- paramvals(6:8) = [0,0,0]
- tit ='No CVTR'
- ct = 1
- elseif i == 3
- paramvals(6:8) = [0,1,1]
- tit ='Endothelial and Metabolic Mechanisms'
- ct = 3
- elseif i == 4
- paramvals(6:8) = [1,1,0]
- tit ='Endothelial and Myogenic Mechanisms'
- ct = 4
- elseif i == 5
- paramvals(6:8) = [0,1,0]
- tit ='Endothelial Mechanism Only'
- ct = 2
- end
- [t,y] = ode23(@(t, y) cerebralbloodflow_changeshearstress(t,y,paramvals,[time, Press/75], CBF, [], [], []), time(4:end)', IC);
- %scale diameters:
- if i == 1
- b1 = [ones(size(y(:,2))) y(:,2)]\diam(4:end);
- %or do just standard scaling:
- %b1 = [1;1];
- if length(find(isnan(b1))>1)
- b1 = [ones(size(y(:,2))) y(:,2)]\diam(1:end-3);
- end
- end
- sim_diam = [ones(size(y(:,2))) y(:,2)]*(b1);%if it's really bad sometimes the slope is -
- if 1 %turn on to plot
- fig = figure, nexttile,
- fig.Position = [-209 1482 370 364];
- fig.Units = 'pixels'
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter (mm)')
- set(gca, 'box','off')
- set(gcf,'color','white')
- set(gca, 'fontsize',15)
- xlabel('Time (s)')
- title(tit)
- if i == 1
- title(["Metabolic, Myogenic,"; "and Endothelial Mechanisms"])
- ax = gca
- ylims = ax.YLim
- elseif i == 2
- legend('Scaled Diameter_{sim}','Diameter_{data}');%, 'CBF_{data}')%, title(['Radius = ', num2str(paramvals(1))])
- end
- ylim(ylims);
- if j == 1
- if i == 3 || i == 5
- axes('Position',[0.55, 0.6, 0.35, 0.3])
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter')
- xlabel(' Time')
- set(gca, 'XTick', [])
- set(gca, 'YColor', 'k')
- set(gca, 'box','off')
- end
- elseif j == 2
- if i == 3 || i == 5
- axes('Position', [0.6500 0.2000 0.2500 0.3000])
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter')
- xlabel('Time')
- set(gca, 'XTick', [])
- set(gca, 'YColor', 'k')
- set(gca, 'box','off')
- end
- elseif j == 3
- if i == 3 || i == 5
- axes('Position', [0.2200 0.6400 0.2500 0.2500])
- yyaxis right
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter')
- xlabel('Time')
- set(gca, 'XTick', [])
- set(gca, 'YColor', 'k')
- set(gca, 'box','off')
- yyaxis left
- set(gca, 'YColor', 'none')
- end
- elseif j == 4
- if i == 3 || i == 5
- axes('Position', [0.6500 0.2000 0.2500 0.2500])
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter')
- xlabel('Time')
- set(gca, 'XTick', [])
- set(gca, 'YColor', 'k')
- set(gca, 'box','off')
- end
- elseif j == 5
- if i == 3 || i == 5
- axes('Position', [0.2500 0.6400 0.2500 0.2500])
- yyaxis right
- plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
- ylabel('Diameter')
- xlabel('Time')
- set(gca, 'XTick', [])
- set(gca, 'YColor', 'k')
- set(gca, 'box','off')
- yyaxis left
- set(gca, 'YColor', 'none')
- end
- end
- % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), '.fig'])
- % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), '.png'])
- %plot Radius
- fig = figure,
- fig.Position = [-209 1482 370 364];
- fig.Units = 'pixels'
- yyaxis right, plot(t-t(1), y(:,3:5), 'linewidth',3)
- if i == 2
- l = legend('\phi_{myo}', '\phi_{endo}', '\phi_{meta}')%, title(['Radius = ', num2str(paramvals(1))])
- %keyboard
- end
- set(gca, 'box','off')
- set(gcf,'color','white')
- set(gca, 'fontsize',15)
- xlabel('Time (s)')
- %tit = input("Input Title and Save Name ", "s")
- title(tit)
- if i == 1
- title(["Metabolic, Myogenic,"; "and Endothelial Mechanisms"])
- yyaxis right
- ax = gca
- yylimR = ax.YLim
- end
- yyaxis left
- ax2 = gca
- set(ax2.YAxis(1), 'Visible', 'off')
- yyaxis right
- ylim(yylimR)
- ylabel('Force From Mechansims')
- % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), 'Radius.fig'])
- % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), 'Radius.png'])
- if i == 1
- %plot pressure:
- fig = figure,
- fig.Position = [-209 1482 370 364];
- fig.Units = 'pixels'
- plot(time, CBFv, 'Color', [190, 94, 121]./215, 'linewidth',3)
- ylabel('Shear Rate (1/s)')
- xlabel('Time (s)')
- set(gca, 'box','off')
- set(gcf,'color','white')
- set(gca, 'fontsize',15)
- % saveas(fig, [filename, '_Shear.fig'])
- % saveas(fig, [filename, '_Shear.png'])
- end
- end
- corelation = corr(sim_diam, diam(4:end))
- mse = mean((sim_diam-diam(4:end)).^2)
- mse_all(ct) = [mse];
- corr_all(ct)= [corelation];
- end
Run_FMD_experiment.m at commit e540c0a, under MIT · at the source
Overview
- Department of Biomedical Engineering, University of Colorado Denver | Anschutz,Aurora, CO USA
- Department of Biomedical Informatics, University of Colorado School of Medicine,Aurora, CO USA
- Department of Biomedical Informatics, Columbia University Irving Medical Center,New York, NY USA
- Department of Neurology, Columbia University Vagelos College of Physicians and Surgeons,New York, NY USA
- Department of Neurology, University of Cincinnati College of Medicine,Cincinnati, OH USA
- Integrative Cerebrovascular and Environmental Physiology (ICEP) SB Laboratory, University of Guelph,Guelph, ON Canada
- Centre for Heart, Lung and Vascular Health, School of Health and Exercise Sciences, University of British Columbia—Okanagan,Kelowna, BC Canada
- Institute of Mountain Emergency Medicine, Eurac Research,Bolzano, Italy
- Barbara Davis Center for Diabetes, University of Colorado Anschutz,Aurora, CO USA
- Department of Pediatrics (Critical Care Medicine), University of Colorado School of Medicine,Aurora, CO USA
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 1 match between paragraphs and lines of code.
jenniferkbriggs/CereBRLSIM
e540c0a9c83411cab76f0f5a908dd624289572dd, 31 July 2025Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
16 files
- InVivo_Experiments/
CereBRLSIM_C02.m , MATLAB, 209 lines - InVivo_Experiments/
CereBRLSIM_FMD.m , MATLAB, 212 lines - InVivo_Experiments/
CereBRLSIM_NVC.m , MATLAB, 211 lines - InVivo_Experiments/
CereBRLSIM_Pigs.m , MATLAB, 197 lines - InVivo_Experiments/
CereBRLSIM_dCA.m , MATLAB, 199 lines - InVivo_Experiments/
FMD.m , MATLAB, 58 lines - InVivo_Experiments/
NVC.m , MATLAB, 232 lines - InVivo_Experiments/
RunClaasenPatientExperim , MATLAB, 91 linesent.m - InVivo_Experiments/
RunKleinPigExperiment.m , MATLAB, 108 lines - InVivo_Experiments/
Run_FMD_experiment.m , MATLAB, 257 lines, 1 match - InVivo_Experiments/
Run_NVC_experiment.m , MATLAB, 232 lines - InVivo_Experiments/
Run_dCA_experiment.m , MATLAB, 105 lines - InVivo_Experiments/
Simulate_a_pig.m , MATLAB, 28 lines - InVivo_Experiments/
dCA.m , MATLAB, 117 lines - LICENSE, License, 21 lines
- README.md, Text, 12 lines
Code availability statement
The paper has a code 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: jenniferkbriggs/
CereBRLSIM
Read it in the paper: doi.org/10.1038/s41746-026-02600-x.
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;
- 14 scripts, each with its path and the digest of its content;
- 1 match 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: jenniferkbriggs/
CereBRLSIM - it says that the data are available on request
Read it in the paper: doi.org/10.1038/s41746-026-02600-x.
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, issue, pages, dates, 11 authors, 4 keywords, 3 funders, 58 references.
Cite
This paper
Briggs, J. K., Stroh, J. N., Park, S., Foreman, B., Tymko, M. M., Carr, J., Sirlanci, M., Ainslie, P. N., Benninger, R. K. P., Bennett, T. D., & Albers, D. J. (2026). Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation. NPJ digital medicine, 9(1), 428. https://
BibTeX
@article{briggs2026towar
author = {Briggs, Jennifer K. and Stroh, J. N. and Park, Soojin and Foreman, Brandon and Tymko, Michael M. and Carr, Jay and Sirlanci, Melike and Ainslie, Philip N. and Benninger, Richard K. P. and Bennett, Tellen D. and Albers, David J.},
title = {{Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation}},
journal = {NPJ digital medicine},
year = {2026},
month = apr,
volume = {9},
number = {1},
pages = {428},
publisher = {Nature Publishing Group},
issn = {2398-6352},
doi = {10.1038/
url = {https://
pmid = {41942716},
pmcid = {PMC13234139}
}
RIS
TY - JOUR
AU - Briggs, Jennifer K.
AU - Stroh, J. N.
AU - Park, Soojin
AU - Foreman, Brandon
AU - Tymko, Michael M.
AU - Carr, Jay
AU - Sirlanci, Melike
AU - Ainslie, Philip N.
AU - Benninger, Richard K. P.
AU - Bennett, Tellen D.
AU - Albers, David J.
TI - Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation
T2 - NPJ digital medicine
J2 - NPJ Digit Med
PY - 2026
DA - 2026/
VL - 9
IS - 1
SP - 428
SN - 2398-6352
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation",
"container-title": "NPJ digital medicine",
"author": [
{
"family": "Briggs",
"given": "Jennifer K."
},
{
"family": "Stroh",
"given": "J. N."
},
{
"family": "Park",
"given": "Soojin"
},
{
"family": "Foreman",
"given": "Brandon"
},
{
"family": "Tymko",
"given": "Michael M."
},
{
"family": "Carr",
"given": "Jay"
},
{
"family": "Sirlanci",
"given": "Melike"
},
{
"family": "Ainslie",
"given": "Philip N."
},
{
"family": "Benninger",
"given": "Richard K. P."
},
{
"family": "Bennett",
"given": "Tellen D."
},
{
"family": "Albers",
"given": "David J."
}
],
"container-title-short":
"volume": "9",
"issue": "1",
"page": "428",
"DOI": "10.1038/
"PMID": "41942716",
"PMCID": "PMC13234139",
"ISSN": "2398-6352",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
6
]
]
}
}
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.1117/1.nph.13.3.035010
- Toward comprehensive multimodal neuromonitoring of surrogates of cerebral autoregulation in traumatic brain injury: insights from a hyperventilation protocol.Journal: NeurophotonicsIn common: clinical / translational, 5 references
- [2] doi:10.1117/1.nph.9.3.030801 [code]
- Systemic physiology augmented functional near-infrared spectroscopy: a powerful approach to study the embodied human brain.Journal: NeurophotonicsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 3 references
- [3] doi:10.1038/s41598-026-47967-9
- Interaction between systemic arterial reservoir behavior and cerebrovascular vasoreactivity during acute controlled hypocapnia.Journal: Scientific reportsIn common: 4 references
- [4] doi:10.1117/1.jbo.31.8.086007
- Time-resolved laser speckle contrast imaging (TR-LSCI) of cerebral blood flow response to intracranial pressure elevation.Journal: Journal of biomedical opticsIn common: 4 references
- [5] doi:10.1162/imag.a.148
- Visual stimulus-evoked blood velocity responses in individual human posterior cerebral arteries measured with dynamic phase-contrast functional MR angiography.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 4 references
- [6] doi:10.3389/fnins.2022.795683 [code]
- The Spatiotemporal Dynamics of Cerebral Autoregulation in Functional Magnetic Resonance Imaging.Journal: Frontiers in neuroscienceIn common: Statistics and Machine Learning Toolbox, 3 references
- [7] doi:10.1364/boe.579339
- Dynamic Windkessel autoregulation for optical hemodynamic imaging: quantifying microcirculation, oxygen diffusion, and vascular autoregulation from low-frequency hemodynamic oscillations.Journal: Biomedical optics expressIn common: 3 references
- [8] doi:10.1117/1.nph.9.s2.s24001 [code]
- Optical imaging and spectroscopy for the study of the human brain: status report.Journal: NeurophotonicsIn common: Signal Processing Toolbox, 2 references
- [9] doi:10.1038/s41598-021-02974-w [code]
- Decoding accelerometry for classification and prediction of critically ill patients with severe brain injury.Journal: Scientific reportsIn common: Signal Processing Toolbox, clinical / translational, 2 references
- [10] doi:10.1038/s41746-025-01463-y
- Machine learning approach for noninvasive intracranial pressure estimation using pulsatile cranial expansion waveforms.Journal: NPJ digital medicineIn common: clinical / translational, 2 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, 14 scripts, and 1 match 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:366e8856c478ebca…
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.1038/s41746-026-02600-x)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41746-026-02600-x.svg
:target: https://openscicode.org/badge/doi/10.1038/s41746-026-02600-x
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41746-026-02600-x"><img src="https://openscicode.org/badge/doi/10.1038/s41746-026-02600-x.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.
