Extracellular space diffusion modelling identifies distinct functional advantages of glutamatergic and GABAergic synapse geometries.
The 2 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Results › Tensor mapping identifies diffusion directionality based on ECS geometry ↔ src/findextremes.m, the whole file · a weak match · score 0.66 · linear regression, cumulative distribution, goes, cloud, perimeter, curve · Report a mismatch
- [2] § Results › Tensor mapping identifies diffusion directionality based on ECS geometry ↔ src/tensormap.m, lines 101 to 153 · score 0.54 · green box, tensor map, 210 deg · 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 · 88 lines · 3.2 KB · BSD-3-Clause · 1 match
- % Find the furthest points of the diffusion cloud from the souce
- function [Xmaxd,Ymaxd,Area_perm,Area,maxD]=findextremes(AUX,S0,i)
- Ys=S0(1,1);
- Xs=S0(1,2);
- [r,c]=find(AUX);
- if range(r)==0 && range(c)==0
- k=0
- Xmaxd=S0(1,2);
- Ymaxd=S0(1,1);
- Area_perm=0;
- Area=0;
- maxD=0;
- else
- if range(r)==0 || range(c)==0
- k=1:length(r);
- k
- else
- k=convhull(c,r);
- end
- % Calculate distances
- distance = sqrt((r - S0(1,1)).^2 + (c - S0(1,2)).^2);
- dis_perimeter=sqrt((r(k) - S0(1,1)).^2 + (c(k) - S0(1,2)).^2);
- % Find maximum distance index
- [maxD, I] = max(distance);
- Xmaxd = c(I);
- Ymaxd = r(I);
- dis_norm=distance./max(distance);
- % dis_norm_perm=dis_perimeter./max(dis_perimeter);
- [f,x_dis]=ecdf(dis_norm);
- [f_perm,x_disperm]=ecdf(dis_perimeter);
- %make sure the cumulative distribution of the distance goes from 0 to 1
- %and the for the area under the curve is estimated from 0-1
- limit=max(x_disperm)+0.01;
- x_disperm=[0; x_disperm;limit;18];
- f_perm=[0; f_perm;0;0];
- Area_perm=trapz(x_disperm,f_perm);
- Area=trapz(x_dis,f);
- % if i<10 % i==589|| i==230|| i==218 || i==110|| i==102 %i==100 || i==438 || i==419 ||i==326 || i==275 || i==302
- %
- % % figure
- % % plot(x_dis,f,'r-')
- % % title(['CDF Indx ',num2str(i)])
- %
- % figure
- % plot(x_disperm,f_perm,'k-')
- % title(['CDF perimeter Indx ',num2str(i)])
- % end
- % Calculate linear regression
- if abs(Ys - Ymaxd) > abs(Xs - Xmaxd)
- P = polyfit([Ymaxd; Ys], [Xmaxd; Xs], 1);
- yfit = (min(r):max(r))';
- xfit = polyval(P, yfit);
- %rsq = 1 - (sum((polyval(P, r) - c).^2) / sum((c - mean(c)).^2));
- %SMS=sum((polyval(P, r) - c).^2);
- %Chi2=sum(((polyval(P, r) - c).^2)./c); %Pearsons Chi square test goodnesss of the fit
- else
- P = polyfit([Xmaxd; Xs], [Ymaxd; Ys], 1);
- xfit = (min(c):max(c))';
- yfit = polyval(P, xfit);
- %rsq = (1 - sum((polyval(P, c) - r).^2) / sum((r - mean(r)).^2));
- %SMS=sum((polyval(P, c) - r).^2);
- %Chi2=sum(((polyval(P, c) - r).^2)./r); %Pearsons Chi square test goodnesss of the fit
- end
- %Display cloud and fitted line
- % if i<10 % i==589|| i==230|| i==218 || i==110|| i==102 %i==100 || i==438 || i==419 ||i==326 || i==275 || i==302
- % figure
- % plot(c,r,'.')
- % hold on
- % plot(Xs,Ys,'r*','MarkerSize',5)
- % xlim([min(c),min(c)+50]);
- % ylim([min(r),min(r)+50]);
- % set(gca, 'YDir','reverse');
- % hold on;
- % plot(xfit,yfit,'k--');
- % plot(Xmaxd,Ymaxd,'r.','MarkerSize',10);
- % title(['Indx ',num2str(i)]);
- % end
- end
- end
findextremes.m at commit 7a6eb97, under BSD-3-Clause · at the source
Overview
- Neuronal Excitability Lab, Instituto Biofisika (CSIC-UPV), Leioa, 48940 Spain
- Aligning Science Across Parkinson’s (ASAP) Collaborative Research Network, Chevy Chase, MD 20815 USA
- Neuronal Excitability Lab, Achucarro Basque Center for Neuroscience, Leioa, 48940 Spain
- Department of Neuroscience, Faculty of Medicine and Nursing, University of the Basque Country (UPV/EHU), Leioa, 48940 Spain
- Department of Neuroscience, Developmental and Regenerative Biology, The University of Texas at San Antonio, San Antonio, TX 78349 USA
Abstract
Background: The brain extracellular space (ECS) is a convoluted compartment of nano- to microscale interconnected ducts filled with interstitial fluid and lined by neural cell membranes. A key step in signaling between neural cells is diffusion through the ECS of transmitter molecules released from point sources distributed throughout the parenchyma. Yet, signaling is generally considered solely from the stance of cellular properties, while disregarding ECS sojourn time and putative signal modulation at this phase. Where ECS diffusion is considered, it is commonly done based on volume-averaging techniques blind to individual signaling events or actual ECS structural geometry. This has precluded knowledge on how specific ECS geometries may impact diffusion and modulate signaling arising from individual transmitter release events. We hypothesized that ECS geometry can shape local diffusion gradients resulting from individual point source release events and thereby tune signaling, and we further propose that this modulation can impart non-random functionality.
Methods: To access the scale of individual transmitter release events and true ECS geometries, we used super-resolution STED microscopy to image the ECS in the hippocampal CA1 stratum radiatum of live mouse brain slices. We then developed a computational diffusion model, DifFlux, based on super-resolved images of hippocampal ECS and applied this along single molecule Monte Carlo diffusion simulations. Our approach allows us to simulate diffusion of molecules of our choosing in actual live ECS geometries.
Results: We observed local anomalous and anisotropic diffusion imposed by ECS geometry, whereby diffusion along larger structures was more directional than in denser neuropil of finer cellular structures. Further, we identified that the perisynaptic ECS geometries around respective glutamatergic and GABAergic synapses imposed distinct functional advantages, shedding light on the longstanding conundrum of why glutamatergic and GABAergic synapses are so conspicuously morphologically different.
Conclusions: Our modelling broadly identifies ECS structure as a direct modulator of extrasynaptic signaling that can operate in parallel to conventional regulation mechanisms. This ultimately provides a metabolic and computational advantage to the brain.
Supplementary Information: The online version contains supplementary material available at 10.1186/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
Zenodo 18750224
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
27 files
- src/
CoeffofVariationofConcen , MATLAB, 38 linestration.m - src/
ConcentrationProfile.m , MATLAB, 75 lines - src/
DiffAnalysis.m , MATLAB, 168 lines - src/
ImageAnalysis.m , MATLAB, 19 lines - src/
LoadImage.m , MATLAB, 84 lines - src/
LoadParam.m , MATLAB, 73 lines - src/
MeasuringPoints.m , MATLAB, 30 lines - src/
NumericalSolver2D.m , MATLAB, 157 lines - src/
NumericalSolver2D_multip , MATLAB, 165 linesle.m - src/
NumericalSolver3D.m , MATLAB, 140 lines - src/
OpenImage.m , MATLAB, 21 lines - src/
SUSHI_vs_VolAverg_Ratio. , MATLAB, 25 linesm - src/
SaveVideo.m , MATLAB, 126 lines - src/
SolveEquations.m , MATLAB, 111 lines - src/
SourceType.m , MATLAB, 30 lines - src/
TIFFgenerator.m , MATLAB, 55 lines - src/
Tensor_angle_strength.m , MATLAB, 15 lines - src/
angulo_medio_axial.m , MATLAB, 29 lines - src/
colorcodefunction.m , MATLAB, 35 lines - src/
convertFromSIunit.m , MATLAB, 18 lines - src/
convertToSIunit.m , MATLAB, 18 lines - src/
createFit.m , MATLAB, 40 lines - src/
defaultconfiguration.m , MATLAB, 35 lines - src/
findextremes.m , MATLAB, 88 lines - src/
tensormap.m , MATLAB, 376 lines - LICENSE, License, 28 lines
- README.md, Text, 40 lines
tonnesenlab/diffusion-model
7a6eb97be1e12f45bccd0ce39851033f7a70fecc, 3 November 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
27 files
- src/
CoeffofVariationofConcen , MATLAB, 38 linestration.m - src/
ConcentrationProfile.m , MATLAB, 75 lines - src/
DiffAnalysis.m , MATLAB, 168 lines - src/
ImageAnalysis.m , MATLAB, 19 lines - src/
LoadImage.m , MATLAB, 84 lines - src/
LoadParam.m , MATLAB, 73 lines - src/
MeasuringPoints.m , MATLAB, 30 lines - src/
NumericalSolver2D.m , MATLAB, 157 lines - src/
NumericalSolver2D_multip , MATLAB, 165 linesle.m - src/
NumericalSolver3D.m , MATLAB, 140 lines - src/
OpenImage.m , MATLAB, 21 lines - src/
SUSHI_vs_VolAverg_Ratio. , MATLAB, 25 linesm - src/
SaveVideo.m , MATLAB, 126 lines - src/
SolveEquations.m , MATLAB, 111 lines - src/
SourceType.m , MATLAB, 30 lines - src/
TIFFgenerator.m , MATLAB, 55 lines - src/
Tensor_angle_strength.m , MATLAB, 15 lines - src/
angulo_medio_axial.m , MATLAB, 29 lines - src/
colorcodefunction.m , MATLAB, 35 lines - src/
convertFromSIunit.m , MATLAB, 18 lines - src/
convertToSIunit.m , MATLAB, 18 lines - src/
createFit.m , MATLAB, 40 lines - src/
defaultconfiguration.m , MATLAB, 35 lines - src/
findextremes.m , MATLAB, 88 lines, 1 match - src/
tensormap.m , MATLAB, 376 lines, 1 match - LICENSE, License, 28 lines
- README.md, Text, 40 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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 50 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
Datasets cited
- zenodo:18750437, at Zenodo; found in “Data availability”
Data availability
All simulations were programmed in MATLAB (Natick, MA). The code and analyses are freely available from Github: DifFlux diffusion model (RRID: SCR_027942; 10.5281/
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 6 keywords, 11 MeSH terms, 10 funders, 45 references, 2 RRIDs.
Cite
This paper
Gimenez, P., Shakya, R. T., Santamaria, F., & Tønnesen, J. (2026). Extracellular space diffusion modelling identifies distinct functional advantages of glutamatergic and GABAergic synapse geometries. Fluids and barriers of the CNS, 23(1), 52. https://
BibTeX
@article{gimenez2026extr
author = {Gimenez, Paula and Shakya, Rohisha T and Santamaria, Fidel and Tønnesen, Jan},
title = {{Extracellular space diffusion modelling identifies distinct functional advantages of glutamatergic and GABAergic synapse geometries}},
journal = {Fluids and barriers of the CNS},
year = {2026},
month = mar,
volume = {23},
number = {1},
pages = {52},
publisher = {BMC},
issn = {2045-8118},
doi = {10.1186/
url = {https://
pmid = {41882711},
pmcid = {PMC13045132}
}
RIS
TY - JOUR
AU - Gimenez, Paula
AU - Shakya, Rohisha T
AU - Santamaria, Fidel
AU - Tønnesen, Jan
TI - Extracellular space diffusion modelling identifies distinct functional advantages of glutamatergic and GABAergic synapse geometries
T2 - Fluids and barriers of the CNS
J2 - Fluids Barriers CNS
PY - 2026
DA - 2026/
VL - 23
IS - 1
SP - 52
SN - 2045-8118
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Extracellular space diffusion modelling identifies distinct functional advantages of glutamatergic and GABAergic synapse geometries",
"container-title": "Fluids and barriers of the CNS",
"author": [
{
"family": "Gimenez",
"given": "Paula"
},
{
"family": "Shakya",
"given": "Rohisha T"
},
{
"family": "Santamaria",
"given": "Fidel"
},
{
"family": "Tønnesen",
"given": "Jan"
}
],
"container-title-short":
"volume": "23",
"issue": "1",
"page": "52",
"DOI": "10.1186/
"PMID": "41882711",
"PMCID": "PMC13045132",
"ISSN": "2045-8118",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
25
]
]
}
}
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.1098/rsif.2023.0223 [code]
- Sheet and void porous media models for brain interstitial space.Journal: Journal of the Royal Society, InterfaceIn common: 8 references
- [2] doi:10.1016/j.isci.2022.104987
- The glymphatic system: Current understanding and modeling.Journal: iScienceIn common: 7 references
- [3] doi:10.1038/s42003-025-09054-z
- Alzheimer's Tau seeds-induced pathology enhances hippocampal extracellular diffusion.Journal: Communications biologyIn common: mouse, cellular / molecular, 6 references
- [4] doi:10.1002/advs.202515674
- Nanoscopic Mapping of the Extracellular Space in Amyloid Plaque-rich Cortex.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: mouse, 6 references
- [5] doi:10.1038/s41467-023-42055-2 [code]
- Shadow imaging for panoptical visualization of brain tissue in vivo.Journal: Nature communicationsIn common: mouse, cellular / molecular, 5 references
- [6] doi:10.1021/acs.nanolett.1c04259 [code]
- Near-Infrared Carbon Nanotube Tracking Reveals the Nanoscale Extracellular Space around Synapses.Journal: Nano lettersIn common: cellular / molecular, 5 references
- [7] doi:10.1002/nbm.70382 [code]
- The Role of Dendritic Spines in Water Exchange Measurements With Diffusion MRI: Time-Dependent Single Diffusion Encoding MRI.Journal: NMR in biomedicineIn common: 5 references
- [8] doi:10.3390/cells12121610 [code]
- Glutamate-Transporter Unbinding in Probabilistic Synaptic Environment Facilitates Activation of Distant NMDA Receptors.Journal: CellsIn common: cellular / molecular, 4 references
- [9] doi:10.1038/s41467-024-48146-y [code]
- A modular framework for multi-scale tissue imaging and neuronal segmentation.Journal: Nature communicationsIn common: mouse, cellular / molecular, 3 references
- [10] doi:10.1016/j.crmeth.2025.101142 [code]
- Ultrastructural analysis of synapses after induction of spike-timing-dependent plasticity.Journal: Cell reports methodsIn common: Curve Fitting Toolbox, mouse, cellular / molecular, 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: 2 repositories of the authors' code, each at its verified commit and with its license, 50 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:8067604b36a90f54…
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.1186/s12987-026-00797-3)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1186/s12987-026-00797-3.svg
:target: https://openscicode.org/badge/doi/10.1186/s12987-026-00797-3
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1186/s12987-026-00797-3"><img src="https://openscicode.org/badge/doi/10.1186/s12987-026-00797-3.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.
