OSCR

Distinct cortical spatial representations learned along disparate visual pathways.

Code ↔ Paper

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

3 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 3 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § METHODS › Learning egocentric cells based on visual motion › Implementing the optic flow model and static feature model ↔ functions/sparse_coding_by_LCA.m, the whole file · a weak match · score 0.69 · membrane potential, model dynamics, LCA, sparse, firing rate, threshold · block oscr:b:DJ0CCSY4MN940-K · Report a mismatch
  2. [2] § METHODS › Learning egocentric cells based on visual motion › Implementing the optic flow model and static feature model ↔ main_V1_RSC.m, lines 107 to 153 · score 0.56 · membrane potential, LCA, V1, sparse, zero, firing rate · block oscr:b:N2NGP8QMF16RY-0 · Report a mismatch
  3. [3] § RESULTS › Firing properties of experimental and model EB cells ↔ symmetry_analyses.py, lines 463 to 577 · score 0.52 · radial symmetry, correlation matrices, detrended, GLM, firing rate, rotational · block oscr:b:RRQSPWVF3BDAH-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

MATLAB · 63 lines · 2.2 KB · no license · 1 match

  1. function [S,U,S_history, U_history] = sparse_coding_by_LCA(...
  2. X, A, lambda, thresh_type, eta, s_max, n_iter, history_flag, S_past, U_past)
  3. % Implement sparse coding using local competition algorithm, i.e. LCA (Rozzel et al. 2008)
  4. % X: input matrix where each column is one example of the input
  5. % A: the columns of A are basis vectors; the number of columns are the
  6. % number of input neurons
  7. % lambda: threshold of thresholding function
  8. % tau: time constant
  9. % n_iter: maximum number of iteration
  10. % thresh_type: thresh_type of thresholding function
  11. % history_flag: record the trajectories or not
  12. % S_past, U_past: previous firing rates and membrane potentials
  13. % s_max = 300; % Maximum of neuronal response
  14. S_history = []; % Dynamics of the firing rates; each row is the responses of all neurons for the current iteration
  15. U_history = []; % Dynamics of the membrane potentials
  16. W = A' * A - eye(size(A, 2));
  17. U_init = A' * X; % Initial membrane potentials of the neuron
  18. if exist('S_past','var') && exist('U_past','var')
  19. S = S_past;
  20. U = U_past;
  21. else
  22. U = zeros(size(U_init));
  23. S = zeros(size(U_init));
  24. end
  25. % The process of computing neuronal responses
  26. for i = 1 : n_iter
  27. % Save the history (trajectory) of model dynamics
  28. if exist('history_flag','var') && (history_flag == 1)
  29. S_history(i,:) = S(:, 1); % Record the history of the first input
  30. U_history(i,:) = U(:, 1); % Record the history of the first input
  31. end
  32. % Compute the membrane potential, U, of the neuron
  33. delta_U = eta * (U_init - U - W*S);
  34. U = U + delta_U;
  35. % Get firing rate, S, of the neuron by thresholding the membrane, U
  36. if isequal(thresh_type, 'soft')
  37. S = wthresh(U, 's', lambda);
  38. elseif isequal(thresh_type, 'hard')
  39. S = wthresh(U, 'h', lambda);
  40. elseif isequal(thresh_type,'hard-non-negative')
  41. S = max(wthresh(U, 'h', lambda), 0);
  42. elseif isequal(thresh_type, 'soft-non-negative')
  43. S = max(U - lambda, 0);
  44. elseif isequal(thresh_type, 'sigmoid')
  45. alpha = 0;% [0,1]
  46. gamma = 5;
  47. lambda = 1;
  48. S = (U - alpha*lambda) ./ (1 + exp(-gamma * (U-lambda)));
  49. else
  50. error('Not a suitable threshold type. Check thresh_type');
  51. end
  52. S = min(S, s_max);
  53. end

sparse_coding_by_LCA.m at commit 2c30bbf, no license · at the source

Overview

  1. Department of Biomedical Engineering, The University of Melbourne, Melbourne, VIC 3010, Australia
  2. Center for Systems Neuroscience, Department of Psychological and Brain Sciences, Boston University, Boston, MA 02215, USA
  3. Graeme Clark Institute for Biomedical Engineering, University of Melbourne, Melbourne, VIC 3010, Australia
Institutions: The University of Melbourne (Australia); Boston University (United States)
Journal: Science advances, volume 12, issue 33, article eaea1037
Dates: received 26 June 2025; accepted 7 July 2026; published online 14 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1126/sciadv.aea1037 · PMID 42600021 · PMCID PMC13475576 · OpenAlex W4403361334
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), systems (subfield)
Methods: Statistics, Machine learning, Preprocessing, fMRI & imaging, Single-unit activity, calcium imaging, Connectivity
MeSH: Learning*, Visual Cortex*, Visual Pathways*, Animals, Humans, Models, Neurological, Neurons, Superior Colliculi (* major topic)
Journal subjects: Neuroscience, Computational Biology
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institutes of Health (NIH NIMH F32 MH139270); Office of Naval Research (ONR MURI grant N00014-19-1-2571, DURIP N00014-17-1-2304); U.S. Department of Health & Human Services | NIH | National Institute of Mental Health (NIMH) (NIMH R01 MH120073); Australian Government (AUSMURIB000001)
Citations: not cited yet (Europe PMC); 88 references in the paper

Abstract

Recent experimental studies have found diverse spatial properties, such as head direction tuning and egocentric tuning, of neurons in the postrhinal cortex (POR) and revealed how the POR spatial representations are distinct from the retrosplenial cortex (RSC). However, how these spatial properties of POR neurons emerge is unknown, and the cause of distinct cortical spatial representations is also unclear. We have previously modeled spatial tuning in RSC based on processing of static visual features originating from the LGN-V1 pathway. However, recent studies have indicated that visual inputs to POR primarily reflect motion processing originating in the superior colliculus (SC). Here, we build a new learning model based on the computation of optic flow information in the SC. This SC-based optic flow model produces simulated neurons with spatial tuning that reflects the diverse spatial properties of POR neurons. Moreover, comparing the new optic flow model with our previously proposed static feature model, we show that distinct cortical spatial representations similar to those found in POR and RSC can be learned along disparate visual pathways (originating in SC and V1), suggesting that the varying features encoded in different visual pathways contribute to the distinct spatial properties in downstream cortical areas.

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

Repositories

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

Zenodo 21088614

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data, code, and materials availability:”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
695 files

Zenodo 13502205

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data, code, and materials availability:”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)

hasselmonians/lachance_hasselmo_por_rsc

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 0cc93e729f43f252700e45e2b4905b83865bdee5, 29 August 2024
Languages: Python (4)
Size: 94 files, 4 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (3 files), Matplotlib (2 files), Numba (1 file), pandas (1 file), SciPy (1 file), seaborn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 files

yanbolian/learning-distinct-egocentric-cells

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 2c30bbf6f8597d3760f8f7d54d59698b73663197, 29 May 2026
Languages: MATLAB (658), C (23), C/C++ (13)
Size: 1,428 files, 694 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, tests, documentation
Not found: license file, CITATION.cff, environment file, continuous integration
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
695 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:

  • 4 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 1,392 scripts, each with its path and the digest of its content;
  • 3 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, code, and materials availability

All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/or the Supplementary Materials. Code for implementing the model and model data are available at https://zenodo.org/records/21088614. Example experimental data and analysis code for data from LaChance and Hasselmo (16) are available at https://doi.org/10.5281/zenodo.13502205. This study did not generate new materials.

Reproduced under the paper's license (CC BY-NC), 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, 5 authors, 8 MeSH terms, 4 funders, 84 references.

Cite

This paper

Lian, Y., LaChance, P. A., Malmberg, S., Hasselmo, M. E., & Burkitt, A. N. (2026). Distinct cortical spatial representations learned along disparate visual pathways. Science advances, 12(33), eaea1037. https://doi.org/10.1126/sciadv.aea1037

BibTeX

@article{lian2026distinct,
author = {Lian, Yanbo and LaChance, Patrick A. and Malmberg, Samantha and Hasselmo, Michael E. and Burkitt, Anthony N.},
title = {{Distinct cortical spatial representations learned along disparate visual pathways}},
journal = {Science advances},
year = {2026},
month = aug,
volume = {12},
number = {33},
pages = {eaea1037},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/sciadv.aea1037},
url = {https://doi.org/10.1126/sciadv.aea1037},
pmid = {42600021},
pmcid = {PMC13475576}
}

RIS

TY - JOUR
AU - Lian, Yanbo
AU - LaChance, Patrick A.
AU - Malmberg, Samantha
AU - Hasselmo, Michael E.
AU - Burkitt, Anthony N.
TI - Distinct cortical spatial representations learned along disparate visual pathways
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/08/14
VL - 12
IS - 33
SP - eaea1037
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/sciadv.aea1037
UR - https://doi.org/10.1126/sciadv.aea1037
LA - en
ER -

CSL-JSON

{
"id": "10.1126/sciadv.aea1037",
"type": "article-journal",
"title": "Distinct cortical spatial representations learned along disparate visual pathways",
"container-title": "Science advances",
"author": [
{
"family": "Lian",
"given": "Yanbo"
},
{
"family": "LaChance",
"given": "Patrick A."
},
{
"family": "Malmberg",
"given": "Samantha"
},
{
"family": "Hasselmo",
"given": "Michael E."
},
{
"family": "Burkitt",
"given": "Anthony N."
}
],
"container-title-short": "Sci Adv",
"volume": "12",
"issue": "33",
"page": "eaea1037",
"DOI": "10.1126/sciadv.aea1037",
"PMID": "42600021",
"PMCID": "PMC13475576",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://doi.org/10.1126/sciadv.aea1037",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
14
]
]
}
}

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.1038/s41467-024-52315-4 [code]
Distinct codes for environment structure and symmetry in postrhinal and retrosplenial cortices.
Journal: Nature communications
In common: Numba, seaborn, pandas, 3 other tools, 30 references, 2 authors
[2] doi:10.1126/sciadv.abg8404 [code]
Landmark-modulated directional coding in postrhinal cortex.
Journal: Science advances
In common: SciPy, NumPy, 19 references, author Patrick A. LaChance
[3] doi:10.1038/s41467-024-54699-9 [code]
Allocentric and egocentric spatial representations coexist in rodent medial entorhinal cortex.
Journal: Nature communications
In common: 22 references
[4] doi:10.1038/s41586-024-07139-z [code]
Subicular neurons encode concave and convex geometries.
Journal: Nature
In common: Numba, Signal Processing Toolbox, Image Processing Toolbox, 5 other tools, 15 references
[5] doi:10.1038/s41467-024-51391-w [code]
Egocentric neural representation of geometric vertex in the retrosplenial cortex.
Journal: Nature communications
In common: Curve Fitting Toolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, systems, 16 references
[6] doi:10.1038/s41467-024-54935-2 [code]
Vector coding and place coding in hippocampus share a common directional signal.
Journal: Nature communications
In common: CircStat, Signal Processing Toolbox, Image Processing Toolbox, 16 references
[7] doi:10.1038/s41467-023-37704-5 [code]
Coregistration of heading to visual cues in retrosplenial cortex.
Journal: Nature communications
In common: Curve Fitting Toolbox, Signal Processing Toolbox, Image Processing Toolbox, 1 other tool, systems, 13 references
[8] doi:10.1016/j.isci.2021.103377
Neural responses in retrosplenial cortex associated with environmental alterations.
Journal: iScience
In common: 14 references, author Michael E. Hasselmo
[9] doi:10.1523/eneuro.0519-21.2022 [code]
Learning Spatiotemporal Properties of Hippocampal Place Cells.
Journal: eNeuro
In common: Image Processing Toolbox, systems, 9 references, 2 authors
[10] doi:10.1016/j.neuron.2021.10.031 [code]
Multisensory coding of angular head velocity in the retrosplenial cortex.
Journal: Neuron
In common: CircStat, Numba, Signal Processing Toolbox, 6 other tools, 10 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.1126/sciadv.aea1037.svg)](https://openscicode.org/badge/doi/10.1126/sciadv.aea1037)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1126/sciadv.aea1037.svg
   :target: https://openscicode.org/badge/doi/10.1126/sciadv.aea1037
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1126/sciadv.aea1037"><img src="https://openscicode.org/badge/doi/10.1126/sciadv.aea1037.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.