Cerebral venous blood flow regulates intracerebral pressure and brain clearance via meningeal lymphatic vessels.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 130 lines · 4.8 KB · no license
- import numpy as np
- import nibabel as nib
- import matplotlib.pyplot as plt
- from skimage import io
- from scipy.integrate import cumtrapz
- from scipy.optimize import curve_fit
- import openpyxl
- import os
- def run_analysis(nifti_path, roi_path, aif_path, group, mouse_number, start_frame):
- print(f"Running DCE analysis from frame {start_frame}...")
- # === Load Data ===
- nifti_img = nib.load(nifti_path)
- data = nifti_img.get_fdata()
- repetition_time_s = 0.038
- corrected_time_s = repetition_time_s * 74
- TR = 0.038
- flip = 15
- r1 = 3
- time_points_s_full = np.arange(data.shape[3]) * corrected_time_s
- time_points_s = time_points_s_full[start_frame:]
- # === ROI Signal ===
- roi_mask = io.imread(roi_path, as_gray=True).T
- roi_slice_index = int(os.path.basename(roi_path)[5])
- roi_signal = data[:, :, roi_slice_index, :].reshape(-1, data.shape[3])
- roi_signal = roi_signal[roi_mask.flatten() > 0]
- roi_signal = roi_signal[:, start_frame:]
- mean_roi_signal = np.mean(roi_signal, axis=0)
- # === AIF Signal ===
- aif_mask = io.imread(aif_path, as_gray=True).T
- aif_slice_index = int(os.path.basename(aif_path)[5])
- if aif_slice_index >= data.shape[2]:
- raise ValueError(f"AIF slice index {aif_slice_index} exceeds available slices in NIfTI ({data.shape[2]}).")
- aif_signal = data[:, :, aif_slice_index, :][aif_mask > 0]
- mean_aif_signal = np.mean(aif_signal, axis=0)[start_frame:]
- # === Plot Signal Intensity ===
- plt.figure("Signal Intensity")
- plt.plot(time_points_s, mean_roi_signal, label="ROI Signal")
- plt.plot(time_points_s, mean_aif_signal, label="AIF Signal")
- plt.xlabel("Time (s)")
- plt.ylabel("Signal Intensity")
- plt.title("Raw Signal Intensity Curves")
- plt.grid(True)
- plt.legend()
- plt.show()
- # === Convert to Concentration ===
- def convert_signal_to_concentration(signal, s0, T1, R1, flip):
- A = (signal / s0) * ((1 - np.exp(-TR * R1)) / (1 - np.cos(flip) * np.exp(-TR * R1)))
- R1t = (-1 / TR) * np.log((1 - A) / (1 - np.cos(flip) * A))
- return (R1t - R1) / r1
- s0 = np.min(roi_signal)
- T1 = 2
- R1 = 1 / T1
- tissue_conc = convert_signal_to_concentration(roi_signal, s0, T1, R1, flip)
- mean_tissue_conc = np.mean(tissue_conc, axis=0)
- s0b = np.min(mean_aif_signal)
- T1b = 2.249
- R1b = 1 / T1b
- hct = 0.45
- blood_conc = convert_signal_to_concentration(mean_aif_signal, s0b, T1b, R1b, flip)
- plasma_conc = blood_conc * (1 - hct) + np.min(mean_tissue_conc)
- # === Plot Concentration Curves ===
- plt.figure("Concentration Curves")
- plt.plot(time_points_s, mean_tissue_conc, label="Tissue Conc.")
- plt.plot(time_points_s, plasma_conc, label="Plasma Conc.", linestyle='dotted')
- plt.xlabel("Time (s)")
- plt.ylabel("Concentration (mM)")
- plt.title("Tissue & Plasma Concentration Curves")
- plt.grid(True)
- plt.legend()
- plt.show()
- # === Fit Tofts Model ===
- def tofts_integral(t, Cp, Kt=0.1, ve=0.2):
- Ct_out = np.zeros(len(t))
- for k in range(len(t)):
- Ct_out[k] = cumtrapz(np.exp(-(Kt / ve) * (t[k] - t[:k+1])) * Cp[:k+1], t[:k+1], initial=0.0)[-1]
- return Kt * Ct_out
- def fit_tofts(Ct, Cp, t):
- N = Ct.shape[0]
- Kt_vals, ve_vals = [], []
- for i in range(N):
- try:
- popt, _ = curve_fit(lambda t, Kt, ve: tofts_integral(t, Cp, Kt, ve),
- t, Ct[i, :], p0=[0.01, 0.01])
- Kt_vals.append(popt[0])
- ve_vals.append(popt[1])
- except RuntimeError:
- continue
- return round(np.mean(Kt_vals), 5), round(np.mean(ve_vals), 5)
- Kt, ve = fit_tofts(tissue_conc, plasma_conc, time_points_s)
- # === Final Plot ===
- plt.figure("Final Fit")
- plt.plot(time_points_s, np.mean(tissue_conc, axis=0), label="Tissue Conc.")
- plt.plot(time_points_s, plasma_conc, label="Plasma Conc.", linestyle='dotted')
- plt.title(f"Final Model Fit\nKtrans = {Kt}, Ve = {ve}")
- plt.xlabel("Time (s)")
- plt.ylabel("Concentration (mM)")
- plt.grid()
- plt.legend()
- plt.show()
- # === Save Results ===
- roi_region = os.path.splitext(os.path.basename(roi_path))[0][-2:]
- aif_region = {3: "CA", 4: "CA", 5: "SSS"}.get(aif_slice_index, "Unknown")
- results_file = "results.xlsx"
- if not os.path.exists(results_file):
- wb = openpyxl.Workbook()
- ws = wb.active
- ws.append(["Group", "Mouse", "ROI", "Ktrans", "Ve"])
- else:
- wb = openpyxl.load_workbook(results_file)
- ws = wb.active
- ws.append((group, mouse_number, roi_region, Kt, ve, aif_region, tissue_conc.shape[0]))
- wb.save(results_file)
- print("✅ Ktrans and Ve saved to results.xlsx")
DCE.py, no license · at the source
Overview
and 13 other authors
Anthony Ruze1, Amelle Nasri1, Marie-Charlotte Bourrienne12,13, Elora Buscher1, Young-Kwon Hong14, Mikael Mazighi12,15, Pierre-Marie Lledo3, Helene Benveniste5, Mathieu Santin1, Anne Eichmann7,8,16, Stéphane Lehericy1,6, Jean-Léon Thomas1,11,17, Stéphanie Lenck1,6,1717 affiliations
- Paris Brain Institute, Université Pierre et Marie Curie Paris 06, INSERM UMRS 1127, Sorbonne Université, Paris, France
- These authors contributed equally: Myriam Spajer, Ruchith Singhabahu
- Institut Pasteur, Université de Paris, CNRS UMR 3571, Paris, France
- Université Paris Cité, Department of Neurology, AP-HP, Hôpital Lariboisière, FHU NeuroVasc, Paris, France
- Department of Anesthesiology, Yale School of Medicine, New Haven, CT, USA
- Department of Neuroradiology, AP-HP, Pitié-Salpêtrière Hospital, Paris, France
- Paris Cardiovascular Research Center, Université Paris Cité, INSERM U970, Paris, France
- Department of Internal Medicine, Cardiovascular Research Center, Yale University School of Medicine, New Haven, CT, USA
- Institut Pasteur, Université de Paris Cité, INSERM U1224, Paris, France
- Yale University, New Haven, CT, USA
- Department of Neurology, Yale University School of Medicine, New Haven, CT, USA
- Optimisation Thérapeutique en Neuropsychopharmacologie, INSERM U1144, Paris, France
- Laboratoire Hématologie, AP-HP, Hôpital Bichat-Claude Bernard, Paris, France
- Department of Surgery, Beth Israel Deaconess Medical center, Harvard Medical School, Boston, MA, USA
- Université Paris Cité, Department of Neurology, AP-HP, Hôpital Lariboisière, FHU NeuroVasc 2030, Institut Universitaire de France, Paris, France
- Department of Cellular and Molecular Physiology, Yale University School of Medicine, New Haven, CT, USA
- These authors jointly supervised this work: Jean-Léon Thomas, Stéphanie Lenck
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.
Zenodo 17453925
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
1 file
- DCE.py, Python, 130 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:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41593-026-02358-1.
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;
- 1 script, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- 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
- geo:GSE284298, at NCBI GEO; found in “Data availability”
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 a dataset: NCBI GEO GSE284298
- it says that the data are available on request
Read it in the paper: doi.org/10.1038/s41593-026-02358-1.
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
- Publisher: n/a → Nature Portfolio
- Authors: added Felipe Saceanu Leser (0000-0002-7499-2765); removed Felipe Saceanu Leser
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 33 authors, 17 MeSH terms, 1 funder, 61 references.
Cite
This paper
El Kamouh, M.-R., Spajer, M., Singhabahu, R., Joly Marolany, A.-L., Sailor, K. A., Mouton, L., Doukhi, D., Koundal, S., Metcalfe, T., Langui, D., Grine, A., Boyé, K., Leser, F. S., Ninnemann, J., Gottschalk, J., Sadeghi, C., Xu, H., Boisserand, L. S. B., Akbar, D., . . . Lenck, S. (2026). Cerebral venous blood flow regulates intracerebral pressure and brain clearance via meningeal lymphatic vessels. Nature neuroscience, 29(9), 2190-2203. https://
BibTeX
@article{elkamouh2026cer
author = {El Kamouh, Marie-Renee and Spajer, Myriam and Singhabahu, Ruchith and Joly Marolany, Anne-Laure and Sailor, Kurt A and Mouton, Laura and Doukhi, Diana and Koundal, Sunil and Metcalfe, Tanner and Langui, Dominique and Grine, Abel and Boyé, Kevin and Leser, Felipe Saceanu and Ninnemann, Justus and Gottschalk, Joshua and Sadeghi, Cyrus and Xu, Han and Boisserand, Ligia Simoes Braga and Akbar, David and Van Wassenhove, Jerome and Ruze, Anthony and Nasri, Amelle and Bourrienne, Marie-Charlotte and Buscher, Elora and Hong, Young-Kwon and Mazighi, Mikael and Lledo, Pierre-Marie and Benveniste, Helene and Santin, Mathieu and Eichmann, Anne and Lehericy, Stéphane and Thomas, Jean-Léon and Lenck, Stéphanie},
title = {{Cerebral venous blood flow regulates intracerebral pressure and brain clearance via meningeal lymphatic vessels}},
journal = {Nature neuroscience},
year = {2026},
month = jul,
volume = {29},
number = {9},
pages = {2190--2203},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/
url = {https://
pmid = {42487032},
pmcid = {PMC13533833}
}
RIS
TY - JOUR
AU - El Kamouh, Marie-Renee
AU - Spajer, Myriam
AU - Singhabahu, Ruchith
AU - Joly Marolany, Anne-Laure
AU - Sailor, Kurt A
AU - Mouton, Laura
AU - Doukhi, Diana
AU - Koundal, Sunil
AU - Metcalfe, Tanner
AU - Langui, Dominique
AU - Grine, Abel
AU - Boyé, Kevin
AU - Leser, Felipe Saceanu
AU - Ninnemann, Justus
AU - Gottschalk, Joshua
AU - Sadeghi, Cyrus
AU - Xu, Han
AU - Boisserand, Ligia Simoes Braga
AU - Akbar, David
AU - Van Wassenhove, Jerome
AU - Ruze, Anthony
AU - Nasri, Amelle
AU - Bourrienne, Marie-Charlotte
AU - Buscher, Elora
AU - Hong, Young-Kwon
AU - Mazighi, Mikael
AU - Lledo, Pierre-Marie
AU - Benveniste, Helene
AU - Santin, Mathieu
AU - Eichmann, Anne
AU - Lehericy, Stéphane
AU - Thomas, Jean-Léon
AU - Lenck, Stéphanie
TI - Cerebral venous blood flow regulates intracerebral pressure and brain clearance via meningeal lymphatic vessels
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/
VL - 29
IS - 9
SP - 2190
EP - 2203
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Cerebral venous blood flow regulates intracerebral pressure and brain clearance via meningeal lymphatic vessels",
"container-title": "Nature neuroscience",
"author": [
{
"family": "El Kamouh",
"given": "Marie-Renee"
},
{
"family": "Spajer",
"given": "Myriam"
},
{
"family": "Singhabahu",
"given": "Ruchith"
},
{
"family": "Joly Marolany",
"given": "Anne-Laure"
},
{
"family": "Sailor",
"given": "Kurt A"
},
{
"family": "Mouton",
"given": "Laura"
},
{
"family": "Doukhi",
"given": "Diana"
},
{
"family": "Koundal",
"given": "Sunil"
},
{
"family": "Metcalfe",
"given": "Tanner"
},
{
"family": "Langui",
"given": "Dominique"
},
{
"family": "Grine",
"given": "Abel"
},
{
"family": "Boyé",
"given": "Kevin"
},
{
"family": "Leser",
"given": "Felipe Saceanu"
},
{
"family": "Ninnemann",
"given": "Justus"
},
{
"family": "Gottschalk",
"given": "Joshua"
},
{
"family": "Sadeghi",
"given": "Cyrus"
},
{
"family": "Xu",
"given": "Han"
},
{
"family": "Boisserand",
"given": "Ligia Simoes Braga"
},
{
"family": "Akbar",
"given": "David"
},
{
"family": "Van Wassenhove",
"given": "Jerome"
},
{
"family": "Ruze",
"given": "Anthony"
},
{
"family": "Nasri",
"given": "Amelle"
},
{
"family": "Bourrienne",
"given": "Marie-Charlotte"
},
{
"family": "Buscher",
"given": "Elora"
},
{
"family": "Hong",
"given": "Young-Kwon"
},
{
"family": "Mazighi",
"given": "Mikael"
},
{
"family": "Lledo",
"given": "Pierre-Marie"
},
{
"family": "Benveniste",
"given": "Helene"
},
{
"family": "Santin",
"given": "Mathieu"
},
{
"family": "Eichmann",
"given": "Anne"
},
{
"family": "Lehericy",
"given": "Stéphane"
},
{
"family": "Thomas",
"given": "Jean-Léon"
},
{
"family": "Lenck",
"given": "Stéphanie"
}
],
"container-title-short":
"volume": "29",
"issue": "9",
"page": "2190-2203",
"DOI": "10.1038/
"PMID": "42487032",
"PMCID": "PMC13533833",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
22
]
]
}
}
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.1073/pnas.2517059123 [code]
- Stretch and flow at the gliovascular interface: High-fidelity modeling of astrocyte endfeet.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: SciPy, Matplotlib, NumPy, 6 references
- [2] doi:10.64898/2026.03.30.714220 [code]
- An integrated single cell and spatial omics atlas of human prenatal developmentJournal: bioRxiv (preprint)In common: SciPy, Matplotlib, NumPy, 4 references
- [3] doi:10.1093/brain/awag080 [code]
- Early glymphatic failure in AppNL-F knock-in mice is linked to parenchymal border macrophages loss.Journal: Brain : a journal of neurologyIn common: mouse, 6 references
- [4] doi:10.1002/alz.71745 [code]
- Regional astrocyte dysregulation and altered glymphatic-related markers in Alzheimer's disease frontal cortex.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: scikit-image, SciPy, Matplotlib, 1 other tool, 3 references
- [5] doi:10.1002/jev2.70347
- Lymphatic Drainage of Cerebrospinal Fluid Using Lymph Node Seeker 64Cu-Labeled Gram-Negative Bacterial Extracellular Vesicles With Positron Emission Tomography (PET).Journal: Journal of extracellular vesiclesIn common: mouse, 5 references
- [6] doi:10.1007/s10237-026-02070-w
- Modification of a poroelastic model for zero porosity: finite element implementation and investigation of fluid mechanics in the perivascular space.Journal: Biomechanics and modeling in mechanobiologyIn common: 5 references
- [7] doi:10.1038/s41467-026-76306-9 [code]
- Non-invasive characterization of perivascular subarachnoid spaces.Journal: Nature communicationsIn common: scikit-image, SciPy, Matplotlib, 1 other tool, structural MRI / diffusion, 2 references
- [8] doi:10.3389/fnins.2026.1841093 [code]
- Brain protein burden is related to intravoxel incoherent motion: PET-MR imaging study.Journal: Frontiers in neuroscienceIn common: NiBabel, SciPy, Matplotlib, 1 other tool, structural MRI / diffusion, 2 references
- [9] doi:10.1002/mrm.70514 [code]
- Brain Clearance of Contrast Agent in Intravenous DCE-MRI Is Measurable and Cannot Be Explained by Clearance Across the BBB Alone.Journal: Magnetic resonance in medicineIn common: SciPy, Matplotlib, NumPy, stroke, structural MRI / diffusion, mouse, 2 references
- [10] doi:10.7554/elife.109888 [code]
- Intravital calcium imaging of meningeal macrophages reveals niche-specific dynamics and aberrant responses to brain hyperexcitability.Journal: eLifeIn common: mouse, 4 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, 1 script, and 0 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:f63d4d2706889e7f…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
