OSCR

Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults.

Code ↔ Paper

6 matches 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.

6 blocks of code here have 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 6 matches
  1. [1] § Methods › Study 1 › Data analysis › EEG power ↔ data_and_code/b00_PowerAnalysis_PRE_WholeSegm.m, lines 23 to 129 · score 0.94 · 14–30 Hz, 30–75 Hz, 8–14 Hz, power spectrum, linear scale, frequency band · block oscr:b:3M4QAQDE8J6CA-G · Report a mismatch
  2. [2] § Methods › Study 1 › Data analysis › EEG power ↔ data_and_code/b01_PowerAnalysis_PRE_A.m, lines 24 to 140 · score 0.94 · 14–30 Hz, 30–75 Hz, 8–14 Hz, power spectrum, linear scale, frequency band · block oscr:b:ZGA66JGMR5ENY-R · Report a mismatch
  3. [3] § Methods › Study 1 › Data analysis › Microstates ↔ data_and_code/c0_Microstates_PRE_POST.m, lines 24 to 113 · score 0.93 · GFP peaks, pop_CombMSMaps, pop_FindMSMaps, pop_FitMSMaps, ignoring polarity, microstate maps · block oscr:b:TX4BBAVR0XTAK-E · Report a mismatch
  4. [4] § Methods › Study 1 › Data analysis › Microstates ↔ data_and_code/c1_Microstates_PRE_A_B.m, lines 29 to 116 · score 0.91 · GFP peaks, pop_CombMSMaps, pop_FindMSMaps, pop_FitMSMaps, ignoring polarity, restarts · block oscr:b:AXBW97CJEA18K-0 · Report a mismatch
  5. [5] § Methods › Study 1 › Materials & procedure ↔ data_and_code/a00_Preprocessing_PRE.m, lines 198 to 284 · score 0.79 · pop_iclabel, Independent Component, copy, eyes, muscle, rejected · block oscr:b:XZADQM0KQ9B21-0 · Report a mismatch
  6. [6] § Methods › Study 1 › Materials & procedure ↔ data_and_code/a10_Preprocessing_POST.m, lines 198 to 284 · score 0.79 · pop_iclabel, Independent Component, copy, eyes, muscle, rejected · block oscr:b:HXJB9K9SWGJVH-3 · 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 · 129 lines · 4.6 KB · no license · 1 match

  1. % PowerAnalysis of the resting state EEG at T1 (= PRE) "pre" intervention
  2. % with app. Power calculated from whole segment
  3. clear all
  4. %machine = getenv('COMPUTERNAME')
  5. % Get the full path of the currently running script
  6. scriptFullPath = matlab.desktop.editor.getActiveFilename;
  7. % Extract the folder path
  8. currentScriptFolder = fileparts(scriptFullPath);
  9. outputPath = fullfile(currentScriptFolder, "OutputPreprocPRE");
  10. cd(outputPath)
  11. %% Add eeglab to path and launch
  12. addpath(fullfile(currentScriptFolder,'eeglab2023.0', filesep))
  13. % start EEGlab
  14. eeglab;
  15. % close;
  16. %% Power calculation
  17. % Define the list of EEG file identifiers
  18. MigrNr = string(1:126);
  19. % Initialize EEGLAB
  20. [ALLEEG, EEG, CURRENTSET, ALLCOM] = eeglab;
  21. % Prepare the header for the CSV file
  22. header = {'MigrNr', 'd_index', 'Delta_ABS', 'Delta_REL', 'Theta_ABS', 'Theta_REL', ...
  23. 'Alpha_ABS', 'Alpha_REL', 'Beta_ABS', 'Beta_REL', ...
  24. 'Gamma_ABS', 'Gamma_REL'};
  25. % Open the CSV file for writing
  26. filename = 'PowerWholeBrainPre.csv';
  27. fid = fopen(filename, 'w');
  28. fprintf(fid, '%s,', header{:});
  29. fprintf(fid, '\n');
  30. % Iterate over each entry in the list
  31. for i = 1:length(MigrNr) %length(MigrNr)
  32. fileID = MigrNr(i);
  33. fileName = strcat(fileID, '.set'); % Construct the file name
  34. % Load the preprocessed EEG file
  35. EEG = pop_loadset('filename', char(fileName));
  36. % (Optional) Update ALLEEG structure to keep track of the dataset
  37. [ALLEEG, EEG, CURRENTSET] = eeg_store(ALLEEG, EEG, 0);
  38. % Frequency bands
  39. deltaBand = [1 4];
  40. thetaBand = [4 8];
  41. alphaBand = [8 14];
  42. betaBand = [14 30];
  43. gammaBand = [30 75];
  44. % Initialize variables to store power values for each electrode
  45. numElectrodes = EEG.nbchan;
  46. deltaPower = zeros(numElectrodes, 1);
  47. thetaPower = zeros(numElectrodes, 1);
  48. alphaPower = zeros(numElectrodes, 1);
  49. betaPower = zeros(numElectrodes, 1);
  50. gammaPower = zeros(numElectrodes, 1);
  51. totalPower = zeros(numElectrodes, 1);
  52. % Compute power for each electrode
  53. for chan = 1:numElectrodes
  54. % Compute the power spectrum using spectopo
  55. [spectra, freqs] = spectopo(EEG.data(chan, :), 0, EEG.srate, ...
  56. 'winsize', 2 * EEG.srate, ... % cuts the data into 2s windows
  57. 'overlap', floor(0.80 * 2 * EEG.srate), ...
  58. 'plot', 'off');
  59. % Convert spectra from dB to linear scale
  60. spectra = 10.^(spectra / 10);
  61. % Define a function to integrate power within a band
  62. integrate_bandpower = @(spectra, freqs, band) trapz(freqs(freqs >= band(1) & freqs <= band(2)), spectra(freqs >= band(1) & freqs <= band(2)));
  63. % Compute the total power in each frequency band for this electrode
  64. deltaPower(chan) = integrate_bandpower(spectra, freqs, deltaBand);
  65. thetaPower(chan) = integrate_bandpower(spectra, freqs, thetaBand);
  66. alphaPower(chan) = integrate_bandpower(spectra, freqs, alphaBand);
  67. betaPower(chan) = integrate_bandpower(spectra, freqs, betaBand);
  68. gammaPower(chan) = integrate_bandpower(spectra, freqs, gammaBand);
  69. % Compute total power across all frequencies for this electrode
  70. totalPower(chan) = trapz(freqs, spectra);
  71. end
  72. % Compute relative power for each frequency band for all channels
  73. relativeDeltaPower = deltaPower ./ totalPower;
  74. relativeThetaPower = thetaPower ./ totalPower;
  75. relativeAlphaPower = alphaPower ./ totalPower;
  76. relativeBetaPower = betaPower ./ totalPower;
  77. relativeGammaPower = gammaPower ./ totalPower;
  78. % Compute average power across all electrodes
  79. avgDeltaPower = mean(deltaPower);
  80. avgThetaPower = mean(thetaPower);
  81. avgAlphaPower = mean(alphaPower);
  82. avgBetaPower = mean(betaPower);
  83. avgGammaPower = mean(gammaPower);
  84. avgTotalPower = mean(totalPower);
  85. % Compute average relative power for each frequency band
  86. avgRelativeDeltaPower = mean(relativeDeltaPower);
  87. avgRelativeThetaPower = mean(relativeThetaPower);
  88. avgRelativeAlphaPower = mean(relativeAlphaPower);
  89. avgRelativeBetaPower = mean(relativeBetaPower);
  90. avgRelativeGammaPower = mean(relativeGammaPower);
  91. % Prepare the data to be saved
  92. data = {fileID, i, avgDeltaPower, avgRelativeDeltaPower, avgThetaPower, avgRelativeThetaPower, ...
  93. avgAlphaPower, avgRelativeAlphaPower, avgBetaPower, avgRelativeBetaPower, ...
  94. avgGammaPower, avgRelativeGammaPower};
  95. % Write the data to the CSV file
  96. fprintf(fid, '%s,%d,', data{1}, data{2});
  97. fprintf(fid, '%f,', data{3:end});
  98. fprintf(fid, '\n');
  99. end
  100. % Close the CSV file
  101. fclose(fid);

b00_PowerAnalysis_PRE_WholeSegm.m, no license · at the source

Overview

  1. Faculty of Psychology, UniDistance Suisse, Brig, Switzerland
  2. The LINE (Laboratory for Investigative Neurophysiology), Department of Diagnostic and Interventional Radiology, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland
  3. The Sense Innovation and Research Center, Lausanne and Sion, Switzerland
  4. Faculty of Psychology, University of Geneva, Geneva, Switzerland
  5. Department of Epileptology, University of Bonn Medical Center, Bonn, Germany
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1224
Dates: received 4 July 2025; accepted 10 April 2026; published online 29 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1224 · PMID 42077507 · PMCID PMC13130526 · OpenAlex W4413011400
Open access: diamond, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), human (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, Machine learning, Smoothing, state filtering, decompositions, Preprocessing, Evoked potentials, Connectivity
Keywords: resting-state EEG, long-term memory, alpha power, second language learning
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Service of higher education of the canton of Valais
Citations: cited by 1 paper (Europe PMC); 99 references in the paper

Abstract

EEG resting-state measures, such as spectral power and microstates, have been associated with human long-term memory (LTM) performance. However, findings across studies are inconsistent and sometimes contradictory, likely due to a low reliability of the measures employed. These inconsistencies limit the interpretability and generalizability of results, emphasizing the need for a systematic evaluation of measure reliability. In this study, we addressed this gap by identifying the most reliable EEG resting-state measures and evaluating their predictive value for LTM performance in a second-language (L2) vocabulary learning paradigm. A group of children (N = 36) and adults (N = 90) participated in two studies on second-language vocabulary learning. Participants completed a test on L2 vocabulary and a resting-state EEG recording (180 seconds eyes open) before and after learning a second language. We used Intraclass Correlation Coefficients (ICC) to identify resting-state EEG measures with satisfying test-retest reliability (ICC > = 0.75) and then assessed how these reliable measures are associated with L2 vocabulary learning representing LTM performance. Highest ICC values were found for oscillatory power in the alpha range and in the frequency of occurrences, duration, and coverages of microstates. Calculations yielded ICC values of 0.84/0.86 (children/adults) for alpha power and 0.88/0.80 for microstate measures. Of these measures, only alpha power showed a positive correlation with LTM performance, but only in the adult population (r = 0.38, p < .01). No other measures were associated with LTM (all p > .05). Alpha power could thus serve as a stable and reliable marker of the neural mechanisms accounting for high LTM performance in the fully developed adult brain.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.

OSF 5znyk

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Languages: MATLAB (11), R (9)
Size: 52 files, 20 scripts
Software Heritage: not checked
Found in: “Data and Code Availability”
Holds: README, 9 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: EEGLAB (11 files), tidyverse (9 files), psych (6 files), broom (5 files), ICLabel (2 files), ggplot2 (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
20 files
At the source: osf.io/5znyk/

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;
  • 20 scripts, each with its path and the digest of its content;
  • 6 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.

Data and Code Availability

All data and analysis scripts used in this study are publicly available at the Open Science Framework (OSF): https://osf.io/5znyk/, DOI: https://doi.org/10.17605/OSF.IO/5ZNYK.

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, pages, dates, 6 authors, 4 keywords, 1 funder, 97 references.

Cite

This paper

Ziogas, A., Ruch, S., Skieresz, N. H., Marca, S. C., Rothen, N., & Reber, T. P. (2026). Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1224. https://doi.org/10.1162/imag.a.1224

BibTeX

@article{ziogas2026test,
author = {Ziogas, Anastasios and Ruch, Simon and Skieresz, Nicole H. and Marca, Sandy C. and Rothen, Nicolas and Reber, Thomas P.},
title = {{Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = apr,
volume = {4},
pages = {IMAG.a.1224},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1224},
url = {https://doi.org/10.1162/imag.a.1224},
pmid = {42077507},
pmcid = {PMC13130526}
}

RIS

TY - JOUR
AU - Ziogas, Anastasios
AU - Ruch, Simon
AU - Skieresz, Nicole H.
AU - Marca, Sandy C.
AU - Rothen, Nicolas
AU - Reber, Thomas P.
TI - Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/04/29
VL - 4
SP - IMAG.a.1224
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1224
UR - https://doi.org/10.1162/imag.a.1224
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1224",
"type": "article-journal",
"title": "Test-retest reliability analysis of resting-state EEG measures and their association with long-term memory in children and adults",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Ziogas",
"given": "Anastasios"
},
{
"family": "Ruch",
"given": "Simon"
},
{
"family": "Skieresz",
"given": "Nicole H."
},
{
"family": "Marca",
"given": "Sandy C."
},
{
"family": "Rothen",
"given": "Nicolas"
},
{
"family": "Reber",
"given": "Thomas P."
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1224",
"DOI": "10.1162/imag.a.1224",
"PMID": "42077507",
"PMCID": "PMC13130526",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1224",
"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.1162/imag.a.1379 [code]
Brain network differences in second language learning depend on individual competencies.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: EEG, cognitive, 2 references, 4 authors
[2] doi:10.1016/j.isci.2024.111149
Correlates of implicit semantic processing as revealed by representational similarity analysis applied to EEG.
Journal: iScience
In common: EEG, cognitive, 2 references, 3 authors
[3] doi:10.1007/s10548-023-00993-6 [code]
EEG-Meta-Microstates: Towards a More Objective Use of Resting-State EEG Microstate Findings Across Studies.
Journal: Brain topography
In common: EEGLAB, EEG, 9 references
[4] doi:10.1007/s10548-024-01043-5
Microstate Analysis of Continuous Infant EEG: Tutorial and Reliability.
Journal: Brain topography
In common: EEG, 10 references
[5] doi:10.1162/imag.a.59 [code]
Spatiotemporal dynamics of EEG microstate networks over the first two years of life: A multi-cohort longitudinal study.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: ICLabel, psych, EEGLAB, 2 other tools, EEG, 5 references
[6] doi:10.1016/j.nicl.2023.103407 [code]
Degradation of EEG microstates patterns in subjective cognitive decline and mild cognitive impairment: Early biomarkers along the Alzheimer's Disease continuum?
Journal: NeuroImage. Clinical
In common: ICLabel, EEGLAB, EEG, 6 references
[7] doi:10.1038/s41598-025-26778-4 [code]
Electrophysiological resting-state signatures link polygenic scores to general intelligence.
Journal: Scientific reports
In common: ICLabel, EEGLAB, ggplot2, 1 other tool, EEG, 5 references
[8] doi:10.1007/s10548-023-00971-y
Frequency Analysis of EEG Microstate Sequences in Wakefulness and NREM Sleep.
Journal: Brain topography
In common: EEG, 8 references
[9] doi:
Tutorial on using EEG microstates to study moment-to-moment large-scale functional brain network dynamics in neurodevelopment
Journal: Frontiers in neuroscience
In common: EEG, 8 references
[10] doi:10.1093/cercor/bhag113 [code]
Long-term reliability and stability of parameterized resting state EEG: evidence from a five-year follow-up.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: ICLabel, broom, psych, 2 other tools, EEG, 3 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.

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.1162/imag.a.1224.svg)](https://openscicode.org/badge/doi/10.1162/imag.a.1224)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1224.svg
   :target: https://openscicode.org/badge/doi/10.1162/imag.a.1224
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1224"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1224.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.