OSCR

Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

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. [1] § Methods › Imaging analysis › Imaging processing ↔ src/halfpipe/tui/standards.py, lines 18 to 72 · score 0.60 · CSF signal, fMRI, Gaussian, smoothing, motion, width · block oscr:b:D1046WBP0QMXB-4 · 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

Python · 193 lines · 6.6 KB · GPL-3.0 · 1 match

  1. from copy import deepcopy
  2. from typing import Dict, List, Union
  3. from inflection import humanize
  4. global_settings_defaults: dict[str, str] = {
  5. "dummy_scans": "0",
  6. "run_reconall": "False",
  7. "slice_timing": "False",
  8. "skull_strip_algorithm": "ants",
  9. }
  10. bandpass_filter_defaults: dict[str, dict] = {
  11. "gaussian": {"type": "gaussian", "hp_width": "125", "lp_width": None},
  12. "frequency_based": {"type": "frequency_based", "high": "0.1", "low": "0.01"},
  13. }
  14. # specify first task based defaults, for other features we will just copy it and modify what is different
  15. task_based_defaults: Dict[
  16. str,
  17. Union[
  18. Dict[str, Union[str, int, float, None, List[Union[str, bool]]]],
  19. List[Dict[str, Union[str, float]]],
  20. str,
  21. float,
  22. ],
  23. ] = {
  24. "bandpass_filter": {"type": "gaussian", "hp_width": "125", "lp_width": None},
  25. "smoothing": {"fwhm": "6"},
  26. "grand_mean_scaling": {"mean": 10000},
  27. "confounds_options": {
  28. "ICA-AROMA": ["ICA-AROMA", False],
  29. "(trans|rot)_[xyz]": ["Motion parameters", False],
  30. "(trans|rot)_[xyz]_derivative1": ["Derivatives of motion parameters", False],
  31. "(trans|rot)_[xyz]_power2": ["Motion parameters squared", False],
  32. "(trans|rot)_[xyz]_derivative1_power2": ["Derivatives of motion parameters squared", False],
  33. "motion_outlier[0-9]+": ["Motion scrubbing", False],
  34. "a_comp_cor_0[0-4]": ["aCompCor (top five components)", False],
  35. "white_matter": ["White matter signal", False],
  36. "csf": ["CSF signal", False],
  37. "global_signal": ["Global signal", False],
  38. },
  39. }
  40. seed_based_defaults = deepcopy(task_based_defaults)
  41. seed_based_defaults["minimum_coverage_label"] = "Minimum fMRI brain coverage by seed (in fraction)"
  42. seed_based_defaults["widget_header"] = "Seed images"
  43. seed_based_defaults["file_selection_widget_header"] = "Select seeds"
  44. seed_based_defaults["minimum_brain_coverage"] = 0.8
  45. dual_reg_defaults = deepcopy(task_based_defaults)
  46. dual_reg_defaults["minimum_coverage_label"] = "Minimum network template coverage by individual brain mask (in fraction)"
  47. dual_reg_defaults["widget_header"] = "Network template images"
  48. dual_reg_defaults["file_selection_widget_header"] = "Select network templates"
  49. dual_reg_defaults["minimum_brain_coverage"] = 0.8
  50. gig_ica_defaults = deepcopy(dual_reg_defaults)
  51. preproc_output_defaults = deepcopy(task_based_defaults)
  52. preproc_output_defaults["minimum_coverage_label"] = "None"
  53. preproc_output_defaults["widget_header"] = "None"
  54. preproc_output_defaults["file_selection_widget_header"] = "None"
  55. atlas_based_connectivity_defaults = deepcopy(task_based_defaults)
  56. atlas_based_connectivity_defaults["bandpass_filter"] = {"type": "frequency_based", "high": "0.1", "low": "0.01"}
  57. atlas_based_connectivity_defaults["smoothing"] = {"fwhm": None}
  58. atlas_based_connectivity_defaults["minimum_brain_coverage"] = 0.8
  59. atlas_based_connectivity_defaults["minimum_coverage_label"] = (
  60. "Minimum atlas region coverage by individual brain mask (in fraction)"
  61. )
  62. atlas_based_connectivity_defaults["widget_header"] = "Atlas images"
  63. atlas_based_connectivity_defaults["file_selection_widget_header"] = "Select atlases"
  64. # reho and falff have same configuration
  65. reho_defaults = deepcopy(atlas_based_connectivity_defaults)
  66. # pop unused keys
  67. reho_defaults.pop("minimum_coverage_label")
  68. reho_defaults.pop("widget_header")
  69. reho_defaults.pop("file_selection_widget_header")
  70. # bring back smoothing because it was None at Atlas
  71. reho_defaults["smoothing"] = {"fwhm": "6"}
  72. reho_defaults["zscore"] = True
  73. falff_defaults = deepcopy(reho_defaults)
  74. group_level_modesl_defaults: dict[str, list[dict[str, str]]] = {
  75. "cutoffs": [
  76. {
  77. "type": "cutoff",
  78. "action": "exclude",
  79. "field": "fd_mean",
  80. "cutoff": "0.5",
  81. },
  82. {
  83. "type": "cutoff",
  84. "action": "exclude",
  85. "field": "fd_perc",
  86. "cutoff": "10.0",
  87. },
  88. ]
  89. }
  90. # this maps how feature labels are viewed in the UI by the use, change value to change the label
  91. feature_label_map: dict[str, str] = {
  92. "task_based": "Task-based",
  93. "seed_based_connectivity": "Seed-based connectivity",
  94. "dual_regression": "Network Template Regression\n'Dual regression'",
  95. "gig_ica": "Network Template Regression\n'Neuromark'",
  96. "atlas_based_connectivity": "Atlas-based Connectivity",
  97. "reho": "ReHo",
  98. "falff": "fALFF",
  99. "preprocessed_image": "Output preprocessed image",
  100. }
  101. # same as above, but for group level models
  102. group_level_model_label_map: dict[str, str] = {"me": "Intercept-only", "lme": "Linear model"}
  103. # colors of the entity highlight in the path pattern builder
  104. entity_colors: dict[str, str] = {
  105. "sub": "red",
  106. "ses": "green",
  107. "run": "magenta",
  108. "task": "cyan",
  109. "dir": "yellow",
  110. "condition": "orange",
  111. "acq": "purple", # Changed to purple for uniqueness
  112. "echo": "brown", # Changed to brown for uniqueness
  113. "desc": "red", # there is only one entity when desc is used
  114. }
  115. # to avoid confusion between textual and rich color definitions, we declare the colors in hex
  116. color_hex_map = {
  117. "green": "#008000",
  118. "red": "#ff0000",
  119. "cyan": "#58d1eb",
  120. "magenta": "#f4005f",
  121. "yellow": "#ffff00",
  122. "brown": "#a52a2a",
  123. "orange": "#ffa500",
  124. "purple": "#af00ff",
  125. }
  126. hex_color_map = {v: k for k, v in color_hex_map.items()}
  127. # same as above but for field maps
  128. field_map_group_labels: dict[str, str] = {
  129. "epi": "EPI (blip-up blip-down)",
  130. "siemens": "Phase difference and magnitude (used by Siemens scanners)",
  131. "philips": "Scanner-computed field map and magnitude (used by GE / Philips scanners)",
  132. }
  133. field_map_labels: dict[str, str] = {
  134. "magnitude1": "first set of magnitude image",
  135. "magnitude2": "second set of magnitude image",
  136. "phase1": "first set of phase image",
  137. "phase2": "second set of phase image",
  138. "phasediff": "phase difference image",
  139. "fieldmap": "field map image",
  140. }
  141. # function for displaying some labels in the meta_data_steps
  142. def display_str(x):
  143. """
  144. Formats a string for display, handling specific cases.
  145. Parameters
  146. ----------
  147. x : str
  148. The input string to format.
  149. Returns
  150. -------
  151. str
  152. The formatted string.
  153. """
  154. if x == "MNI152NLin6Asym":
  155. return "MNI ICBM 152 non-linear 6th Generation Asymmetric (FSL)"
  156. elif x == "MNI152NLin2009cAsym":
  157. return "MNI ICBM 2009c Nonlinear Asymmetric"
  158. elif x == "slice_encoding_direction":
  159. return "slice acquisition direction"
  160. return humanize(x)
  161. aggregate_order = ["dir", "run", "ses", "task"]
  162. entity_display_aliases = {
  163. "ses": "session",
  164. "sub": "subject",
  165. "dir": "direction",
  166. "acq": "acquisition",
  167. }

standards.py at commit b65f53d, under GPL-3.0 · at the source

Overview

Authors: Shiwei Lin1, Xueting Lu1, Qunjun Liang2, Hongyan Huang1, Shengli Chen1, Qianyun Chen1, Hongyue Wei1, Yingwei Qiu1
  1. Department of Radiology, Nanshan People’s Hospital (NSPH), Shenzhen University,Taoyuan AVE 89, Nanshan district, Shenzhen, 518000 P R China
  2. School of Marxism, Guangxi University of Science and Technology,Liuzhou, 545000 P. R. China
Journal: Translational psychiatry, volume 16, issue 1, article 420
Dates: received 22 September 2025; accepted 3 June 2026; published online 13 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41398-026-04157-5 · PMID 42285933 · PMCID PMC13487156 · OpenAlex W7164539542
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), EEG (modality), fMRI (modality), human (organism), healthy (population), clinical / translational (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, fMRI & imaging, Physiology & signal measures
Keywords: Physiology, Diseases, Neuroscience
MeSH: Brain*, Cognition*, Glymphatic System*, Healthy Aging*, Adult, Aged, Biomarkers, Diffusion Tensor Imaging, Electroencephalography, Female, Humans, Magnetic Resonance Imaging, Male, Middle Aged, Young Adult (* major topic)
Topic: Cerebrospinal fluid and hydrocephalus (Clinical Neurology, Medicine), according to OpenAlex
Funding: This work has received funding by grants from the Natural Science Foundation of Guangdong Province (grants 2024A1515013203 and 2022A1515012503), the Nature and Science Basic Research Foundation of Shenzhen (JCYJ20230807115916035), the Medicine Plus Program of Shenzhen University (2024YG008) and the Scientific and Technological Project of Nanshan (NS2022007, NSZD2023025)
Citations: not cited yet (Europe PMC); 71 references in the paper

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.

HALFpipe/HALFpipe

License: GPL-3.0
State: the link answers, verified on 9 November 2026
Evidence: files inventoried
Commit: b65f53d305936a2660ba420bbdff6c156416b3be, 18 August 2026
Languages: Python (455), Shell (5)
Size: 611 files, 460 scripts
Software Heritage: not archived
Found in: the text, “Imaging processing”
Holds: README, license file, environment (Dockerfile, pyproject.toml, recipes/conda_build_config.yaml), tests, continuous integration
Not found: CITATION.cff, documentation
Tools: NumPy (90 files), Nipype (86 files), NiBabel (51 files), pandas (38 files), Nilearn (17 files), FSL (14 files), SciPy (14 files), fMRIPrep (13 files), TemplateFlow (9 files), AFNI (6 files), NetworkX (4 files), Numba (4 files), PyBIDS (4 files), ANTs (3 files), Matplotlib (3 files), DataLad (2 files), FreeSurfer (1 file), seaborn (1 file), statsmodels (1 file)
Availability: 2 checks, the latest on 9 November 2026: the link answers
  • 9 November 2026: the link answers
  • 27 September 2026: the link answers
462 files

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;
  • 460 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.

Data availability statement

The paper has a data 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/s41398-026-04157-5.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 3 keywords, 15 MeSH terms, 1 funder, 69 references.

Cite

This paper

Lin, S., Lu, X., Liang, Q., Huang, H., Chen, S., Chen, Q., Wei, H., & Qiu, Y. (2026). Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study. Translational psychiatry, 16(1), 420. https://doi.org/10.1038/s41398-026-04157-5

BibTeX

@article{lin2026association,
author = {Lin, Shiwei and Lu, Xueting and Liang, Qunjun and Huang, Hongyan and Chen, Shengli and Chen, Qianyun and Wei, Hongyue and Qiu, Yingwei},
title = {{Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study}},
journal = {Translational psychiatry},
year = {2026},
month = jun,
volume = {16},
number = {1},
pages = {420},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/s41398-026-04157-5},
url = {https://doi.org/10.1038/s41398-026-04157-5},
pmid = {42285933},
pmcid = {PMC13487156}
}

RIS

TY - JOUR
AU - Lin, Shiwei
AU - Lu, Xueting
AU - Liang, Qunjun
AU - Huang, Hongyan
AU - Chen, Shengli
AU - Chen, Qianyun
AU - Wei, Hongyue
AU - Qiu, Yingwei
TI - Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/06/13
VL - 16
IS - 1
SP - 420
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/s41398-026-04157-5
UR - https://doi.org/10.1038/s41398-026-04157-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41398-026-04157-5",
"type": "article-journal",
"title": "Association of glymphatic function with 40-Hz neural oscillations, systemic metabolic markers, and cognitive performance in healthy aging adults: An EEG and MRI study",
"container-title": "Translational psychiatry",
"author": [
{
"family": "Lin",
"given": "Shiwei"
},
{
"family": "Lu",
"given": "Xueting"
},
{
"family": "Liang",
"given": "Qunjun"
},
{
"family": "Huang",
"given": "Hongyan"
},
{
"family": "Chen",
"given": "Shengli"
},
{
"family": "Chen",
"given": "Qianyun"
},
{
"family": "Wei",
"given": "Hongyue"
},
{
"family": "Qiu",
"given": "Yingwei"
}
],
"container-title-short": "Transl Psychiatry",
"volume": "16",
"issue": "1",
"page": "420",
"DOI": "10.1038/s41398-026-04157-5",
"PMID": "42285933",
"PMCID": "PMC13487156",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41398-026-04157-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
13
]
]
}
}

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.1016/j.isci.2026.115455 [code]
Slow wave canonical activity deviation concept: Toward a slow wave-based EEG-fMRI reference map for health-associated network function.
Journal: iScience
In common: TemplateFlow, DataLad, fMRIPrep, 16 other tools, fMRI, EEG, 3 references
[2] doi:10.1016/j.ynirp.2022.100142 [code]
Empathy and resting-state functional connectivity in children.
Journal: Neuroimage. Reports
In common: TemplateFlow, DataLad, fMRIPrep, 16 other tools, fMRI, 1 reference
[3] doi:10.1002/hbm.25829 [code]
ENIGMA HALFpipe: Interactive, reproducible, and efficient analysis for resting-state and task-based fMRI data.
Journal: Human brain mapping
In common: TemplateFlow, DataLad, fMRIPrep, 16 other tools, fMRI
[4] doi:10.7554/elife.79277 [code]
Neuroscout, a unified platform for generalizable and reproducible fMRI research.
Journal: eLife
In common: TemplateFlow, DataLad, fMRIPrep, 14 other tools, fMRI
[5] doi:10.1016/j.neuroimage.2023.120109 [code]
Benchmarking explanation methods for mental state decoding with deep learning models.
Journal: NeuroImage
In common: TemplateFlow, DataLad, fMRIPrep, 14 other tools
[6] doi:10.1073/pnas.2101403118 [code]
Temporal self-compression: Behavioral and neural evidence that past and future selves are compressed as they move away from the present.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: TemplateFlow, DataLad, fMRIPrep, 13 other tools
[7] doi:10.1162/imag.a.141 [code]
Comparing and scaling fMRI features for brain-behavior prediction.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: DataLad, PyBIDS, Nipype, 14 other tools, fMRI
[8] doi:10.1038/s41597-021-01116-1 [code]
Source imaging of high-density visual evoked potentials with multi-scale brain parcellations and connectomes.
Journal: Scientific data
In common: DataLad, PyBIDS, Nipype, 13 other tools, EEG, structural MRI / diffusion, 1 reference
[9] doi:10.1371/journal.pcbi.1012683 [code]
Dialogue mechanisms between astrocytic and neuronal networks: A whole-brain modelling approach.
Journal: PLoS computational biology
In common: DataLad, PyBIDS, Nipype, 14 other tools
[10] doi:10.1016/j.dcn.2023.101337 [code]
A multi-sample evaluation of the measurement structure and function of the modified monetary incentive delay task in adolescents.
Journal: Developmental cognitive neuroscience
In common: TemplateFlow, fMRIPrep, PyBIDS, 13 other tools, fMRI

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5.svg)](https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5"><img src="https://openscicode.org/badge/doi/10.1038/s41398-026-04157-5.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.