OSCR

Locomotion optimizes sensory representations through a computational principle shared by rodents and primates.

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
  1. [1] § METHODS › Nonlinearity optimization ↔ fig2/optimize_all_gabor.ipynb, lines 655–702 · score 0.86 · mutual information, response entropy, Gaussian distribution, stimulus bin, response bin, optimal parameters
  2. [2] § METHODS › Optimization of inhibitory connections ↔ fig4/network_interaction_analysis.ipynb, lines 341–483 · score 0.83 · enforce positivity, Pearson correlation, loss function, network interaction, gradient, subtracted
  3. [3] § METHODS › Nonlinearity optimization ↔ fig2/compute_ori_tuning.py, lines 24–135 · score 0.74 · logistic nonlinearity, Gaussian distribution, response bin, optimal parameters, entropy, utility
  4. [4] § METHODS › Temporal dynamics ↔ fig3/temporal_filtering_analysis.ipynb, lines 1170–1208 · score 0.73 · inverse Fourier transform, white noise, autocorrelation function, temporal filters, spectra, power
  5. [5] § METHODS › Temporal filtering ↔ fig3/temporal_filtering_analysis.ipynb, lines 1170–1208 · score 0.69 · filtered spectra, white noise, temporal filtering, autocorrelation function, spectral, power
  6. [6] § METHODS › Minimal model of sensing during locomotion ↔ minimal_model/agent_sim.py, lines 74–129 · score 0.69 · starting position, minimal model, agent, circle, uniform, velocity
  7. [7] § METHODS › Orientation tuning curves ↔ fig2/optimize_all_gabor.ipynb, lines 1327–1389 · score 0.64 · stationary tuning curve, moving tuning curve, regressing, additive, Gabor filters, fit
  8. [8] § METHODS › Minimal model of sensing during locomotion ↔ minimal_model/agent_sim_analysis.ipynb, lines 78–177 · score 0.63 · starting position, minimal model, trajectories, velocity, radius, agent
  9. [9] § METHODS › Population coding fidelity ↔ fig2/decoding_error_decreases_gabor.ipynb, lines 415–443 · score 0.62 · decoding error, Gaussian filter, decoder, firing rate, smoothed, concatenated
  10. [10] § METHODS › Orientation tuning curves ↔ fig2/compute_ori_tuning.py, lines 177–226 · score 0.61 · stationary tuning curve, moving tuning curve, regressing, additive, Gabor filters, fit
  11. [11] § RESULTS › Modulation of temporal filtering ensures efficiency of sensory coding during locomotion ↔ fig3/temporal_filtering_analysis.ipynb, lines 228–257 · score 0.59 · frequency domain, temporal frequencies, temporal filter, linear, Figure 3
  12. [12] § METHODS › Analysis of data from freely moving mice ↔ supp2/visualize_data_for_anti_mod.ipynb, lines 48–142 · score 0.58 · visual angle, Gabor filter bank, cpd, resolution
  13. [13] § METHODS › Analysis of data from freely moving mice ↔ supp2/visualize_data_for_anti_mod_no_eye_movement_correction.ipynb, lines 35–128 · score 0.58 · visual angle, Gabor filter bank, cpd, resolution
  14. [14] § METHODS › Surround suppression ↔ fig4/network_interaction_analysis.ipynb, lines 1678–1720 · score 0.53 · circular mask, radii, gratings, radius, Gabor filters, fitting
  15. [15] § RESULTS › Stimulus statistics explain differential modulation of sensory coding by locomotion in rodents and primates ↔ fig5/optimize_all_gabor_species_comp.ipynb, lines 1229–1363 · score 0.51 · confidence interval, firing rate, foveal, species, optimized, modulated

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

Jupyter notebook · 2,590 lines · 158 KB · no license · 3 matches

The registry keeps no copy of this file: its repository has no license, so its authors keep all their rights to it. Your browser shows it from its source, with JavaScript.

It can be read at the source: fig3/temporal_filtering_analysis.ipynb.

Overview

  1. Faculty of Biology, LMU, Munich, Germany
  2. Graduate School of Systemic Neurosciences, Munich, Germany
  3. Bernstein Center for Computational Neuroscience Munich, Munich, Germany
Journal: Science advances, volume 12, issue 35, article eaed4172
Dates: received 27 October 2025; accepted 20 July 2026; published online 28 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1126/sciadv.aed4172 · PMID 42664357 · PMCID PMC13524049 · OpenAlex W7154616600
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: cellular / molecular (subfield)
Methods: Smoothing, state filtering, decompositions, Statistics, Connectivity, Machine learning, Single-unit activity, calcium imaging
MeSH: Locomotion*, Models, Neurological*, Primates*, Rodentia*, Sensory Receptor Cells*, Animals (* major topic)
Journal subjects: Neuroscience
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 64 references in the paper

Abstract

Behavior modulates the activity of sensory systems in multiple ways: from gain changes in individual neurons to changing interactions in neural populations. These effects are not universal; while movement has a strong influence on sensory coding in rodents, its impact on primates is less prominent. The diversity of effects that locomotion exerts on sensory neurons, as well as disparities between species, raises questions about the existence of universal principles that may underlie sensation during behavior. We propose that sensory systems are internally modulated to match systematic changes in stimulus statistics caused by locomotion, to facilitate an accurate and efficient sensory code. We find that model neurons, adapted to stimuli recorded during movement in natural environments, predict and reproduce a broad spectrum of experimental observations in rodents and primates. This simple principle of maintaining coding efficiency across behavioral states reconciles the diversity of ways in which locomotion modulates visual coding in different animal species.

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.

Zenodo 20624372

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
Tools: NumPy (31 files), h5py (21 files), Matplotlib (20 files), SciPy (19 files), scikit-learn (7 files), OpenCV (6 files), pandas (2 files), PyTorch (2 files), Numba (1 file), rpy2 (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
32 files

mlynarski-group/locomotion-modulation

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 24c076f12556f265925d8408ef9f6bff8131385f, 10 June 2026
Languages: Jupyter (18), Python (13)
Size: 42 files, 31 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, environment (requirements.txt), 18 notebooks
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (31 files), h5py (21 files), Matplotlib (20 files), SciPy (19 files), scikit-learn (7 files), OpenCV (6 files), pandas (2 files), PyTorch (2 files), Numba (1 file), rpy2 (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
32 files, not copied: shown from their source

OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 24c076f, when its fingerprint is the one OSCR verified. How this works.

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;
  • 62 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, 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. The data (natural videos) used in the analysis are available at https://doi.org/10.12751/g-node.14m4gq. The code is publicly available at https://doi.org/10.5281/zenodo.20624372. No new materials were generated in this study.

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, 2 authors, 6 MeSH terms, 59 references.

Cite

This paper

Gant, J. M., & Młynarski, W. F. (2026). Locomotion optimizes sensory representations through a computational principle shared by rodents and primates. Science advances, 12(35), eaed4172. https://doi.org/10.1126/sciadv.aed4172

BibTeX

@article{gant2026locomotion,
author = {Gant, Jonathan M. and Młynarski, Wiktor F.},
title = {{Locomotion optimizes sensory representations through a computational principle shared by rodents and primates}},
journal = {Science advances},
year = {2026},
month = aug,
volume = {12},
number = {35},
pages = {eaed4172},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/sciadv.aed4172},
url = {https://doi.org/10.1126/sciadv.aed4172},
pmid = {42664357},
pmcid = {PMC13524049}
}

RIS

TY - JOUR
AU - Gant, Jonathan M.
AU - Młynarski, Wiktor F.
TI - Locomotion optimizes sensory representations through a computational principle shared by rodents and primates
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/08/28
VL - 12
IS - 35
SP - eaed4172
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/sciadv.aed4172
UR - https://doi.org/10.1126/sciadv.aed4172
LA - en
ER -

CSL-JSON

{
"id": "10.1126/sciadv.aed4172",
"type": "article-journal",
"title": "Locomotion optimizes sensory representations through a computational principle shared by rodents and primates",
"container-title": "Science advances",
"author": [
{
"family": "Gant",
"given": "Jonathan M."
},
{
"family": "Młynarski",
"given": "Wiktor F."
}
],
"container-title-short": "Sci Adv",
"volume": "12",
"issue": "35",
"page": "eaed4172",
"DOI": "10.1126/sciadv.aed4172",
"PMID": "42664357",
"PMCID": "PMC13524049",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://doi.org/10.1126/sciadv.aed4172",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
28
]
]
}
}

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.1371/journal.pcbi.1014123 [code]
Subunit-specific behavioral modulation of sensory tuning in the visual cortex.
Journal: PLoS computational biology
In common: pandas, Matplotlib, NumPy, 10 references, author Wiktor F. Młynarski
[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: Numba, PyTorch, scikit-learn, 4 other tools, 7 references
[3] doi:10.1038/s41467-026-71667-7
Behavioural states control binocular vision through input-specific mechanisms.
Journal: Nature communications
In common: 9 references
[4] doi:10.1016/j.isci.2026.116055 [code]
Mapping the transcriptional diversity of calcium signaling in the mouse and human brain.
Journal: iScience
In common: rpy2, Numba, h5py, 7 other tools
[5] doi:10.1038/s41586-026-10348-3 [code]
An enteric neuron ionotropic receptor regulates salt stress resistance.
Journal: Nature
In common: Numba, OpenCV, h5py, 7 other tools, cellular / molecular
[6] doi:10.7554/elife.109717 [code]
Retrosplenial cortex enables context-dependent goal-directed sensorimotor transformation.
Journal: eLife
In common: Numba, OpenCV, h5py, 6 other tools, 1 reference
[7] doi:10.1038/s41593-026-02267-3 [code]
Spatial proteomic analysis in human Alzheimer's disease brains enables identification of microenvironment-dependent microglial cell states.
Journal: Nature neuroscience
In common: rpy2, Numba, h5py, 6 other tools, cellular / molecular
[8] doi:10.1016/j.isci.2026.116825 [code]
Social hierarchy shapes behavioral and transcriptional responses to chronic stress and ketamine in male mice.
Journal: iScience
In common: Numba, OpenCV, h5py, 7 other tools
[9] doi:10.1038/s41467-026-72057-9 [code]
Sex-specific behavioral feedback modulates sensorimotor processing and drives flexible social behavior.
Journal: Nature communications
In common: Numba, OpenCV, h5py, 7 other tools
[10] doi:10.1038/s41593-026-02232-0 [code]
Entorhinal cortex represents task-relevant remote locations independently of CA1.
Journal: Nature neuroscience
In common: Numba, OpenCV, h5py, 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.