OSCR

Toroidal topology of grid-cell activity precedes spatial navigation during development

Code ↔ Paper

8 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 8 matches · 5 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Visualization of toroidal and ring manifolds ↔ SUA analysis/get_stPR.m, the whole file · a weak match · score 0.60 · population rate, Gaussian kernel, firing rate, convolved, neurons, variables
  2. [2] § Methods › Identification of putative inhibitory connections ↔ SUA analysis/computeXcorrHGonly.m, lines 31–163 · score 0.60 · hollowed gaussian kernel, probabilistic, convolving, subtracted, window, lag
  3. [3] § Methods › Spike sorting and single-unit selection ↔ klusta/loadKlusta.m, the whole file · a weak match · score 0.58 · refractory period violations, MUA, waveform, Spike
  4. [4] § Methods › Clustering ↔ SUA analysis/get_stPR.m, the whole file · a weak match · score 0.56 · Population coupling, Gaussian kernel, firing rate, correlation
  5. [5] § Results › Emergence of toroidal manifolds reflects maturation of cortical network dynamics ↔ SUA analysis/computeXcorrHGonly.m, lines 31–163 · score 0.54 · cross correlograms, spike train, probability, fast
  6. [6] § Methods › Desynchronization analysis ↔ SUA analysis/deprecated_fasterTilingCoeff.m, the whole file · a weak match · score 0.54 · Tiling Coefficient, spike trains, STTC, correlations
  7. [7] § Methods › Clustering ↔ Wrappers/MainPopulationCoupling.m, lines 7–26 · score 0.54 · Population coupling, Gaussian kernel
  8. [8] § Methods › Desynchronization analysis ↔ SUA analysis/deprecated_fastTC.m, the whole file · a weak match · score 0.52 · Tiling Coefficient, spike trains, STTC, correlations

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 · 94 lines · 4.4 KB · GPL-3.0 · 2 matches

  1. function [stPR, pop_coupling, pop_coupling_1sthalf, pop_coupling_2ndhalf] ...
  2. = get_stPR(spike_matrix, max_lag, animal_name, repeat_calc, save_data, output_folder)
  3. %% by Mattia 09.19
  4. % compute stPR (spike-triggered population rate) and population coupling
  5. % as described in Okun et al., 2015 Nature.
  6. % inputs:
  7. % - animal_name (string): to save/loda stuff
  8. % - spike_matrix (2D matrix): as computed by getSpikeMatrixKlusta
  9. % - max_lag (value): in ms (tipical values are 100-500-1000ms)
  10. % - repeat_calc (0 or 1): 0=no, 1=yes
  11. % - save_data (0 or 1): 0=no, 1=yes
  12. % - output_folder (string): main folder to save results
  13. % outputs
  14. % - stPR (array, num_units*(max_lag*2+1)): spike triggered population rate
  15. % - pop_coupling (array, num_units): population coupling
  16. % - pop_coupling_1sthalf array, num_units): population coupling first half (quality control,
  17. % shouldn't differ from second half)
  18. % - pop_coupling_2ndhalf (array, num_units): population coupling second half
  19. if repeat_calc == 0 && ...
  20. exist(strcat(output_folder, animal_name, '.mat'), 'file')
  21. load(strcat(output_folder, animal_name))
  22. stPR = pop_coupling_stuff.stPR;
  23. pop_coupling = pop_coupling_stuff.pop_coupling;
  24. pop_coupling_1sthalf = pop_coupling_stuff.pop_coupling_1sthalf;
  25. pop_coupling_2ndhalf = pop_coupling_stuff.pop_coupling_2ndhalf;
  26. else
  27. Gwindow = gausswin(101, 8.3); % gaussian window of 100ms with stdev of 12ms as in paper
  28. Gwindow = Gwindow / sum(Gwindow); % normalize the gaussian kernel
  29. num_units = size(spike_matrix, 1);
  30. half_rec = round(length(spike_matrix) / 2);
  31. % initialize variables
  32. stPR = zeros(num_units, 2 * max_lag + 1);
  33. pop_coupling = zeros(num_units, 1);
  34. pop_coupling_1sthalf = pop_coupling;
  35. pop_coupling_2ndhalf = pop_coupling;
  36. if ~ isnan(spike_matrix)
  37. % loop over units
  38. for unit_idx = 1 : num_units
  39. % compute the population rate, excluding the unit for which you
  40. % are calculating the stPR
  41. if num_units > 2
  42. population_rate = sum(spike_matrix(~ ismember(1 : num_units, unit_idx), :));
  43. else
  44. population_rate = spike_matrix(~ ismember(1 : num_units, unit_idx), :);
  45. end
  46. % convolve with gaussian window
  47. population_rate = conv(full(population_rate), Gwindow, 'same');
  48. % subtract mean
  49. population_rate = population_rate - mean(population_rate);
  50. % convolve also firing of the single neuron
  51. firing_rate_neuron = conv(full(spike_matrix(unit_idx, :)), Gwindow, 'same');
  52. % compute xcorr between the two vectors (stPR)
  53. stPR(unit_idx, :) = xcorr(firing_rate_neuron, population_rate, max_lag);
  54. % compute population coupling as in the paper (stPR at 0 normalized by
  55. % number of spikes fired by the neuron).
  56. pop_coupling(unit_idx) = stPR(unit_idx, max_lag + 1) / sum(firing_rate_neuron);
  57. % to compute reliability of pop_coupling, compute it for first and
  58. % second half separately, to than check how they correlate to each
  59. % other
  60. stPR_1sthalf = XcorrNB(cat(1, firing_rate_neuron(1 : half_rec), ...
  61. population_rate(1 : half_rec)), 0, 0);
  62. pop_coupling_1sthalf(unit_idx) = stPR_1sthalf / sum(firing_rate_neuron(1 : half_rec));
  63. stPR_2ndhalf = XcorrNB(cat(1, firing_rate_neuron(half_rec + 1 : end), ...
  64. population_rate(half_rec + 1 : end)), 0, 0);
  65. pop_coupling_2ndhalf(unit_idx) = stPR_2ndhalf / sum(firing_rate_neuron(half_rec + 1 : end));
  66. % put stuff into a structure
  67. pop_coupling_stuff = struct;
  68. pop_coupling_stuff.stPR = stPR;
  69. pop_coupling_stuff.pop_coupling = pop_coupling;
  70. pop_coupling_stuff.pop_coupling_1sthalf = pop_coupling_1sthalf;
  71. pop_coupling_stuff.pop_coupling_2ndhalf = pop_coupling_2ndhalf;
  72. end
  73. else
  74. pop_coupling_stuff = struct;
  75. pop_coupling_stuff.stPR = NaN;
  76. pop_coupling_stuff.pop_coupling = NaN;
  77. pop_coupling_stuff.pop_coupling_1sthalf = NaN;
  78. pop_coupling_stuff.pop_coupling_2ndhalf = NaN;
  79. end
  80. if save_data == 1
  81. save(strcat(output_folder, animal_name), 'pop_coupling_stuff')
  82. else
  83. disp('Data not saved!')
  84. end
  85. end
  86. end

get_stPR.m at commit f7f3432, under GPL-3.0 · at the source

Overview

  1. Kavli Institute for Systems Neuroscience and Centre for Algorithms in the Cortex, Fred Kavli Building, Norwegian University of Science and Technology, NO-7491, Trondheim, Norway
  2. Department of Mathematical Sciences, Norwegian University of Science and Technology, Trondheim, Norway
Dates: published online 11 March 2026
Type: Preprint
License: CC BY-NC-ND
Identifiers: DOI 10.64898/2026.03.10.710908 · OpenAlex W7134946257
Open access: green, a free copy (OpenAlex)
Status: code verified
Categories: developmental (subfield)
Methods: Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, fMRI & imaging, Single-unit activity, calcium imaging
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: European Research Council (951319)
Citations: not cited yet (Europe PMC); 72 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 8 matches between paragraphs and lines of code.

OpatzLab/HanganuOpatzToolbox

License: GPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: f7f3432336de958a02094306469fb66a7a40c5cd, 4 October 2024
Languages: MATLAB (534), Python (37), C/C++ (11), C (9), C++ (1), Java (1), Shell (1)
Size: 1,120 files, 594 scripts
Software Heritage: not archived
Found in: the text, “Desynchronization analysis”
Holds: README, license file, environment (Fooof/setup.cfg, Fooof/setup.py), tests, documentation
Not found: CITATION.cff, continuous integration
Tools: Chronux (70 files), specparam (formerly FOOOF) (25 files), Signal Processing Toolbox (22 files), Statistics and Machine Learning Toolbox (20 files), NumPy (19 files), FieldTrip (9 files), SciPy (4 files), Image Processing Toolbox (3 files), boundedline (1 file), CircStat (1 file), Matplotlib (1 file), Violinplot-Matlab (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
596 files

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.64898/2026.03.10.710908.

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;
  • 594 scripts, each with its path and the digest of its content;
  • 8 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 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.64898/2026.03.10.710908.

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, journal, dates, 7 authors, 1 funder, 62 references.

Cite

This paper

Guardamagna, M., Hermansen, E., Carpenter, J., Lykken, C. M., Dunn, B. A., Moser, E. I., & Moser, M.-B. (2026). Toroidal topology of grid-cell activity precedes spatial navigation during development. bioRxiv (preprint). https://doi.org/10.64898/2026.03.10.710908

BibTeX

@article{guardamagna2026toroidal,
author = {Guardamagna, Matteo and Hermansen, Erik and Carpenter, Jordan and Lykken, Christine M. and Dunn, Benjamin A. and Moser, Edvard I. and Moser, May-Britt},
title = {{Toroidal topology of grid-cell activity precedes spatial navigation during development}},
journal = {bioRxiv (preprint)},
year = {2026},
month = mar,
publisher = {bioRxiv},
issn = {2692-8205},
doi = {10.64898/2026.03.10.710908},
url = {https://doi.org/10.64898/2026.03.10.710908}
}

RIS

TY - JOUR
AU - Guardamagna, Matteo
AU - Hermansen, Erik
AU - Carpenter, Jordan
AU - Lykken, Christine M.
AU - Dunn, Benjamin A.
AU - Moser, Edvard I.
AU - Moser, May-Britt
TI - Toroidal topology of grid-cell activity precedes spatial navigation during development
T2 - bioRxiv (preprint)
J2 - bioRxiv
PY - 2026
DA - 2026/03/11
SN - 2692-8205
PB - bioRxiv
DO - 10.64898/2026.03.10.710908
UR - https://doi.org/10.64898/2026.03.10.710908
ER -

CSL-JSON

{
"id": "10.64898/2026.03.10.710908",
"type": "article",
"title": "Toroidal topology of grid-cell activity precedes spatial navigation during development",
"container-title": "bioRxiv (preprint)",
"author": [
{
"family": "Guardamagna",
"given": "Matteo"
},
{
"family": "Hermansen",
"given": "Erik"
},
{
"family": "Carpenter",
"given": "Jordan"
},
{
"family": "Lykken",
"given": "Christine M."
},
{
"family": "Dunn",
"given": "Benjamin A."
},
{
"family": "Moser",
"given": "Edvard I."
},
{
"family": "Moser",
"given": "May-Britt"
}
],
"container-title-short": "bioRxiv",
"DOI": "10.64898/2026.03.10.710908",
"ISSN": "2692-8205",
"publisher": "bioRxiv",
"URL": "https://doi.org/10.64898/2026.03.10.710908",
"issued": {
"date-parts": [
[
2026,
3,
11
]
]
}
}

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.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: Chronux, boundedline, CircStat, 7 other tools, 2 references
[2] 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: Chronux, boundedline, CircStat, 7 other tools, 1 reference
[3] doi:10.64898/2026.03.12.710517 [code]
Cortical excitability inversely modulates fMRI connectivity via low-frequency neuronal coupling
Journal: bioRxiv (preprint)
In common: Chronux, specparam (formerly FOOOF), CircStat, 7 other tools
[4] doi:10.1038/s41593-026-02357-2 [code]
Experience reorganizes content-specific memory traces in macaques.
Journal: Nature neuroscience
In common: Chronux, boundedline, CircStat, 7 other tools
[5] doi:10.1038/s41467-026-73106-z [code]
Respiratory pauses highlight sleep architecture in mice.
Journal: Nature communications
In common: Chronux, boundedline, CircStat, 7 other tools
[6] 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: Chronux, boundedline, CircStat, 6 other tools, 1 reference
[7] doi:10.1162/imag.a.1229 [code]
40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Chronux, Violinplot-Matlab, CircStat, 7 other tools
[8] doi:10.1126/sciadv.aea1037 [code]
Distinct cortical spatial representations learned along disparate visual pathways.
Journal: Science advances
In common: Chronux, CircStat, Image Processing Toolbox, 5 other tools, 2 references
[9] doi:10.1038/s41467-026-72620-4 [code]
Grid maps are disrupted after large-scale arena expansion and recover with experience.
Journal: Nature communications
In common: Chronux, CircStat, Image Processing Toolbox, 2 other tools, 3 references
[10] 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: Chronux, boundedline, CircStat, 4 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.