OSCR

Deltas' and spindles' cross-area synchronization and ripple subtypes.

Code ↔ Paper

15 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.

The 15 matches · 9 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and methods › Detection of spindles and delta waves ↔ nonrem_oscillations/Required_Functions/FindDeltaWavesRGS14.m, lines 1–47 · score 0.75 · FindDeltaWaves, sleep periods, 1–6 Hz, threshold, channel, Matlab
  2. [2] § Materials and methods › Time–frequency Granger causality ↔ nonrem_oscillations/Spectrograms&GrangerCausality/functions/createauto_timefreq.m, the whole file · a weak match · score 0.70 · ft_connectivityanalysis, ft_freqanalysis, Granger Causality, Hanning, Fourier, FieldTrip
  3. [3] § Materials and methods › Time–frequency Granger causality ↔ nonrem_oscillations/Spectrograms&GrangerCausality/functions/stats_high_granger.m, the whole file · a weak match · score 0.70 · randomized trials, frequency matrix, Granger Causality, pixel, transform, permutation
  4. [4] § Materials and methods › Dimensionality reduction of ripple features and ripple clustering › Number of peaks ↔ Adrian/c3split_sweep_analysis.m, the whole file · a weak match · score 0.64 · Akaike information criterion, Bayesian information criterion, AIC, BIC, clustered
  5. [5] § Materials and methods › Time–frequency spectrograms ↔ nonrem_oscillations/Spectrograms&GrangerCausality/spectrogram_automation.m, the whole file · a weak match · score 0.58 · notch filter, ft_preprocessing, spectrograms, FieldTrip, channels
  6. [6] § Materials and methods › Time–frequency spectrograms ↔ Pelin/spectrogram_automation.m, the whole file · a weak match · score 0.58 · notch filter, ft_preprocessing, spectrograms, FieldTrip, channels
  7. [7] § Materials and methods › Dimensionality reduction of ripple features and ripple clustering › Peak-to-peak distance ↔ nonrem_oscillations/Spectrograms&GrangerCausality/functions/delta_specs.m, the whole file · a weak match · score 0.57 · peak distance, peak2peak, amplitude
  8. [8] § Materials and methods › Dimensionality reduction of ripple features and ripple clustering › Peak-to-peak distance ↔ Pelin/functions/delta_specs.m, the whole file · a weak match · score 0.57 · peak distance, peak2peak, amplitude
  9. [9] § Results › Hippocampal-cortical oscillation interactions during ripple types ↔ Pelin/revision2025/extract_values_from_figFiles_Vehicle.m, lines 1–44 · score 0.57 · 0–20 Hz, Extracted Granger, PFC HPC, cluster
  10. [10] § Materials and methods › Ripple detection ↔ spiking_activity/Required_Functions/Ripple_Analysis_All.m, the whole file · a weak match · score 0.55 · post trials, workspace, offset, presleep, split, treatment
  11. [11] § Materials and methods › Detection of oscillation sequences ↔ nonrem_oscillations/Required_Functions/FindDeltaWavesRGS14.m, lines 1–47 · score 0.55 · find delta waves, find ripples, duration, NonREM, sleep, peaks
  12. [12] § Materials and methods › Cortical activity during ripples ↔ spiking_activity/Required_Functions/Ripple_Analysis_All.m, the whole file · a weak match · score 0.53 · firing activity, vector, spike, window, neuron, timestamps
  13. [13] § Materials and methods › Dimensionality reduction of ripple features and ripple clustering › Number of peaks ↔ Adrian/CBD_Main_script.m, lines 26–57 · score 0.52 · CovarianceType, fitgmdist, diagonal, GMM, vehicle, clustered
  14. [14] § Materials and methods › Ripple detection ↔ nonrem_oscillations/Required_Functions/swr_check_thr.m, lines 1–97 · score 0.51 · 100–300 Hz, consecutive, epochs, detection, thresholding, bandpass
  15. [15] § Materials and methods › Slow oscillation phase ↔ nonrem_oscillations/Spindle_analysis_Kopal.m, lines 93–202 · score 0.51 · 0.5–4 Hz, angle, phase, 360 deg, Hilbert, bandpass

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

MATLAB · 156 lines · 5.8 KB · GPL-3.0 · 2 matches

  1. function delta = FindDeltaWavesRGS14(filtered,k)
  2. %FindDeltaWaves - Find cortical delta waves (1-6Hz waves).
  3. %
  4. % USAGE
  5. %
  6. % delta = FindDeltaWaves(filtered,<options>)
  7. %
  8. % filtered delta-band filtered LFP <a href="matlab:help samples">samples</a> (one channel). This must
  9. % be restricted to slow wave sleep periods for the algorithm
  10. % to perform best.
  11. % <options> optional list of property-value pairs (see table below)
  12. %
  13. % =========================================================================
  14. % Properties Values
  15. % -------------------------------------------------------------------------
  16. % 'thresholds' thresholds for z-scored minimum peak and trough amplitudes
  17. % (default = [1 2 0 1.5], see NOTE below)
  18. % 'durations' min and max wave durations in ms (default = [150 500])
  19. % =========================================================================
  20. %
  21. % OUTPUT
  22. %
  23. % delta for each delta wave, times and z-scored amplitudes of
  24. % the beginning, peak and trough of the wave, in a Nx6
  25. % matrix [start_t peak_t end_t start_z peak_z end_z]
  26. %
  27. % NOTE
  28. %
  29. % To be selected, candidate delta waves must fulfill one of two amplitude
  30. % conditions. The peak and trough must both exceed a threshold, but one can
  31. % compensate for the other, i.e. a large peak requires a smaller trough and
  32. % vice versa.
  33. %
  34. % More precisely, there are two thresholds for the peak, p and P (p<P), and
  35. % two for the trough, t and T (t<T). The amplitude must fulfill one of the
  36. % following conditions:
  37. %
  38. % peak > p and trough > T
  39. % or peak > P and trough > t
  40. %
  41. % Thresholds are given in SDs, and the above conditions relate to absolute
  42. % values.
  43. %
  44. % SEE
  45. %
  46. % See also FilterLFP, FindRipples.
  47. % Copyright (C) 2012-2017 Michaël Zugaro, 2012-2015 Nicolas Maingret,
  48. %
  49. % This program is free software; you can redistribute it and/or modify
  50. % it under the terms of the GNU General Public License as published by
  51. % the Free Software Foundation; either version 3 of the License, or
  52. % (at your option) any later version.
  53. % Default values
  54. if ~isempty(find(k==[2,3,6],1))
  55. highPeak = 2; % Threshold for filtered signal (number of SDs)
  56. lowPeak = 1;
  57. elseif ~isempty(find(k==[1,4,8],1))
  58. highPeak = 2.15;
  59. lowPeak = 1.15;
  60. elseif k==5
  61. highPeak = 1.75;
  62. lowPeak = 0.75;
  63. else
  64. highPeak = 1.8;
  65. lowPeak = 0.8;
  66. end
  67. if k==5
  68. highTrough = 1.3;
  69. else
  70. highTrough = 1.5;
  71. end
  72. lowTrough = 0;
  73. minDuration = 150; % min time between successive zero crossings (in ms)
  74. maxDuration = 450; % max time between successive zero crossings (in ms)
  75. % % Check number of parameters
  76. % if nargin < 1 | mod(length(varargin),2) ~= 0,
  77. % error('Incorrect number of parameters (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).');
  78. % end
  79. %
  80. % % Check parameter sizes
  81. % if ~isdmatrix(filtered,'@2'),
  82. % error('Parameter ''filtered'' is not a Nx2 matrix (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).');
  83. % end
  84. %
  85. % % Parse parameter list
  86. % for i = 1:2:length(varargin),
  87. % if ~ischar(varargin{i}),
  88. % error(['Parameter ' num2str(i+2) ' is not a property (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).']);
  89. % end
  90. % switch(lower(varargin{i})),
  91. % case {'thresholds','amplitudes'},
  92. % thresholds = varargin{i+1};
  93. % if ~isdvector(thresholds,'#4'),
  94. % error('Incorrect value for property ''thresholds'' (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).');
  95. % end
  96. % lowPeak = thresholds(1);
  97. % highPeak = thresholds(2);
  98. % lowTrough = thresholds(3);
  99. % highTrough = thresholds(4);
  100. % if lowPeak > highPeak || lowTrough > highTrough,
  101. % error('Inconsistent amplitude thresholds (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).');
  102. % end
  103. % case 'durations',
  104. % durations = varargin{i+1};
  105. % if ~isdvector(durations,'#2','<','>0'),
  106. % error('Incorrect value for property ''durations'' (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).');
  107. % end
  108. % if durations(2) < 1,
  109. % warning('Delta wave min and max durations are less than 1 ms, assuming seconds.');
  110. % durations = durations * 1000;
  111. % end
  112. % minDuration = durations(1); maxDuration = durations(2);
  113. % otherwise,
  114. % error(['Unknown property ''' num2str(varargin{i}) ''' (type ''help <a href="matlab:help FindDeltaWaves">FindDeltaWaves</a>'' for details).']);
  115. % end
  116. % end
  117. % Find local minima and maxima corresponding to beginning, peak and end of delta waves
  118. % This is done by finding zero crossings of the (z-scored) derivative of the signal
  119. % Differentiate, filter and z-score signal
  120. z = filtered;
  121. z(:,2) = [diff(filtered(:,2));0];
  122. z = FilterLFP(z,'passband',[0 6],'order',8);
  123. z(:,2) = zscore(z(:,2));
  124. % Find positions (in # samples) of zero crossings
  125. [up,down] = ZeroCrossings(z);
  126. down = find(down);
  127. up = find(up);
  128. if down(1) < up(1), down(1) = []; end
  129. % List positions (in # samples) of successive up,down,up crossings in an Nx3 matrix
  130. n = length(up);
  131. where = [up(1:n-1) down(1:n-1) up(2:n)];
  132. % List positions but also z-scored amplitudes in an Nx6 matrix (positions then amplitudes)
  133. z = filtered;
  134. z(:,2) = zscore(filtered(:,2));
  135. delta = z(where,:);
  136. delta = reshape(delta,size(where,1),6);
  137. % Discard waves that are too long or too short
  138. duration = delta(:,3) - delta(:,1);
  139. delta(duration<minDuration/1000|duration>maxDuration/1000,:) = [];
  140. % Threshold z-scored peak and trough amplitudes
  141. peak = delta(:,5);
  142. trough = delta(:,6);
  143. case1 = peak > highPeak & trough <= -lowTrough;
  144. case2 = peak >= lowPeak & trough < -highTrough;
  145. delta = delta(case1|case2,:);

FindDeltaWavesRGS14.m at commit 95cc6cb, under GPL-3.0 · at the source

Overview

Authors: Adrian Aleman-Zapata1, Yixiao Zhang1, Pelin Özsezer1, Kopal Agarwal1, Abdelrahman Rayan1, Irene Navarro-Lobato1, Lisa Genzel1
  1. Donders Institute for Brain, Cognition and Behaviour, Radboud University, Postbus 9010, 6500GL Nijmegen, The Netherlands
Journal: Sleep, volume 49, issue 9, article zsag168
Dates: received 10 December 2025; accepted 27 May 2026; published online 19 June 2026; in print September 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/sleep/zsag168 · PMID 42319042 · PMCID PMC13553294 · OpenAlex W7165142621
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), rat (organism)
Methods: Spectral & time-frequency, Preprocessing, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Evoked potentials, Single-unit activity, calcium imaging
Keywords: hippocampal ripples, memory consolidation, sleep, prefrontal cortex, delta waves, spindles, neural synchronization
MeSH: Cortical Synchronization*, Delta Rhythm*, Hippocampus*, Memory Consolidation*, Sleep*, Animals, Electroencephalography, Male, Prefrontal Cortex, Rats (* major topic)
Topic: Sleep and Wakefulness Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NWO-Vidi
Citations: not cited yet (Europe PMC); 65 references in the paper

Abstract

Hippocampal ripples, critical for sleep-related memory consolidation, are heterogeneous events with various sources and functions. However, their specific roles in supporting different forms of memory remain poorly understood. Here, we applied principal component analysis to identify ripple sub-types and relate them to hippocampal–cortical interactions, as well as their role in consolidating simple and complex semantic-like memories in rats. Three main ripple types were identified: medium-sized, large-sized, and small-sized ripples. Small-sized ripples were associated with increased prefrontal cortex to hippocampus connectivity, followed hippocampal delta waves, and were related to simple learning. In contrast, large-sized ripples exhibited increased hippocampus to prefrontal cortex connectivity, occurred during hippocampal spindles together as a doublet with a small-sized ripple, and were related to complex memory consolidation. Finally, learning induced heightened coupling between hippocampal delta and spindle oscillations and their cortical counterparts, consequently leading to an increased synchronization of ripples with cortical oscillations. Together, these results underscore that distinct ripple subtypes and their specific patterns of hippocampal–cortical coordination during sleep underpin different memory consolidation processes.

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 15 matches between paragraphs and lines of code.

genzellab/RGS14

License: GPL-3.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 95cc6cb5785a15a3e65ae80fd40fe7cad5ed9039, 8 May 2025
Languages: MATLAB (50)
Size: 69 files, 50 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file, CITATION.cff
Not found: environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
52 files

genzellab/RGS14_clusters

License: none: the authors keep all their rights
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 4a287c820deb2c24743d1d8dad522ef3e4d5916e, 3 April 2026
Languages: MATLAB (135), Python (6)
Size: 205 files, 141 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: FieldTrip (13 files), Statistics and Machine Learning Toolbox (13 files), Signal Processing Toolbox (7 files), Matplotlib (5 files), SciPy (5 files), NumPy (4 files), Image Processing Toolbox (2 files), Parallel Computing Toolbox (1 file), Plotly (1 file), scikit-learn (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
142 files

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

Data availability

All data are available at https://osf.io/7xw43/ . Code can be found on the following GitHub links: https://github.com/genzellab/RGS14 and https://github.com/genzellab/RGS14_clusters

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

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 7 keywords, 10 MeSH terms, 1 funder, 64 references.

Cite

This paper

Aleman-Zapata, A., Zhang, Y., Özsezer, P., Agarwal, K., Rayan, A., Navarro-Lobato, I., & Genzel, L. (2026). Deltas' and spindles' cross-area synchronization and ripple subtypes. Sleep, 49(9), zsag168. https://doi.org/10.1093/sleep/zsag168

BibTeX

@article{alemanzapata2026deltas,
author = {Aleman-Zapata, Adrian and Zhang, Yixiao and Özsezer, Pelin and Agarwal, Kopal and Rayan, Abdelrahman and Navarro-Lobato, Irene and Genzel, Lisa},
title = {{Deltas' and spindles' cross-area synchronization and ripple subtypes}},
journal = {Sleep},
year = {2026},
month = sep,
volume = {49},
number = {9},
pages = {zsag168},
publisher = {Oxford University Press},
issn = {0161-8105},
doi = {10.1093/sleep/zsag168},
url = {https://doi.org/10.1093/sleep/zsag168},
pmid = {42319042},
pmcid = {PMC13553294}
}

RIS

TY - JOUR
AU - Aleman-Zapata, Adrian
AU - Zhang, Yixiao
AU - Özsezer, Pelin
AU - Agarwal, Kopal
AU - Rayan, Abdelrahman
AU - Navarro-Lobato, Irene
AU - Genzel, Lisa
TI - Deltas' and spindles' cross-area synchronization and ripple subtypes
T2 - Sleep
J2 - Sleep
PY - 2026
DA - 2026/09/01
VL - 49
IS - 9
SP - zsag168
SN - 0161-8105
PB - Oxford University Press
DO - 10.1093/sleep/zsag168
UR - https://doi.org/10.1093/sleep/zsag168
LA - en
ER -

CSL-JSON

{
"id": "10.1093/sleep/zsag168",
"type": "article-journal",
"title": "Deltas' and spindles' cross-area synchronization and ripple subtypes",
"container-title": "Sleep",
"author": [
{
"family": "Aleman-Zapata",
"given": "Adrian"
},
{
"family": "Zhang",
"given": "Yixiao"
},
{
"family": "Özsezer",
"given": "Pelin"
},
{
"family": "Agarwal",
"given": "Kopal"
},
{
"family": "Rayan",
"given": "Abdelrahman"
},
{
"family": "Navarro-Lobato",
"given": "Irene"
},
{
"family": "Genzel",
"given": "Lisa"
}
],
"container-title-short": "Sleep",
"volume": "49",
"issue": "9",
"page": "zsag168",
"DOI": "10.1093/sleep/zsag168",
"PMID": "42319042",
"PMCID": "PMC13553294",
"ISSN": "0161-8105",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/sleep/zsag168",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
1
]
]
}
}

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.7554/elife.110795 [code]
REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep.
Journal: eLife
In common: boundedline, FieldTrip, Image Processing Toolbox, 2 other tools, rat, 10 references
[2] doi:10.1038/s41593-026-02357-2 [code]
Experience reorganizes content-specific memory traces in macaques.
Journal: Nature neuroscience
In common: boundedline, FieldTrip, Parallel Computing Toolbox, 7 other tools, 2 references
[3] doi:10.1038/s41467-026-73106-z [code]
Respiratory pauses highlight sleep architecture in mice.
Journal: Nature communications
In common: boundedline, FieldTrip, Parallel Computing Toolbox, 6 other tools, EEG, 2 references
[4] doi:10.1038/s41593-026-02345-6 [code]
Human hippocampal ripples tune cortical responses based on predicted uncertainty.
Journal: Nature neuroscience
In common: boundedline, FieldTrip, Image Processing Toolbox, 2 other tools, 5 references
[5] doi:10.1038/s41467-026-77318-1 [code]
Offline generative network reconfiguration guides insight-like accelerated learning by assimilation into schema in rats.
Journal: Nature communications
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, scikit-learn, 2 other tools, rat, 6 references
[6] doi:10.1016/j.neuron.2026.05.004 [code]
A learning-evoked slow-oscillatory architecture paces population activity for offline reactivation across the human medial temporal lobe.
Journal: Neuron
In common: SciPy, Matplotlib, NumPy, 8 references
[7] doi:10.1016/j.neuron.2026.03.034 [code]
Dentate gyrus interneurons modulate winner-take-all network dynamics in freely behaving mice.
Journal: Neuron
In common: boundedline, Parallel Computing Toolbox, Image Processing Toolbox, 6 other tools, 2 references
[8] doi:10.1038/s41467-026-75347-4 [code]
Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.
Journal: Nature communications
In common: boundedline, FieldTrip, Parallel Computing Toolbox, 7 other tools, 1 reference
[9] doi:10.1038/s41467-026-75345-6 [code]
Hippocampal ripples initiate cortical dimensionality expansion for memory retrieval.
Journal: Nature communications
In common: boundedline, FieldTrip, Parallel Computing Toolbox, 3 other tools, EEG, 3 references
[10] doi:10.1038/s41593-026-02255-7 [code]
Neural circuits encode prior knowledge of temporal statistics.
Journal: Nature neuroscience
In common: Open Ephys analysis tools, Parallel Computing Toolbox, Plotly, 7 other tools

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.

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: 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.