Undoing of firing rate adaptation enables invariant population codes.
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 · 41 lines · 891 B · CC-BY-4.0
- function [] = Batch_Alignment()
- % reference image for allignment
- ref = 750;
- % Prompt for manual browse to image folder
- folder_name = uigetdir(pwd, 'Select Folder containing Prairie Images');
- if folder_name == 0
- error('no folder selected')
- end
- display(folder_name);
- files = dir([folder_name, '/TSeries*fly*']);
- dirFlags = [files.isdir];
- tseries = files(dirFlags);
- num_tseries = size(tseries,1);
- if num_tseries==0
- error('no TSeries available');
- else
- for i=1:num_tseries
- tic
- s = regexp(tseries(i).name, '.tif', 'split');
- if exist([folder_name, '/', s{1}, '_times.mat'],'file')~=2
- display(tseries(i).name);
- tseries_align([folder_name, '/', tseries(i).name], ref);
- else
- disp([tseries(i).name ' DONE']);
- end
- toc
- end
- end
- disp('all DONE');
- end
Batch_Alignment.m, under CC-BY-4.0 · at the source
Overview
- Institute of Developmental Biology and Neurobiology, Johannes Gutenberg University, Mainz, Germany
- Institute for Quantitative and Computational Biosciences (IQCB), Johannes Gutenberg University, Mainz, Germany
- Department of Neuroscience, Faculty of Health and Medical Sciences, University of Copenhagen, Copenhagen, Denmark
Abstract
Neural adaptation supports coding efficiency by tuning responses to prevailing stimulus statistics. However, when information is represented by populations of neurons, adaptation of individual units could degrade behaviorally relevant signals. Here, we investigate how the fly olfactory system implements adaptation to background odors in olfactory receptor neurons (ORNs) and the consequences for combinatorial coding in downstream circuits. We show that adaptation of ORN firing rate is compensated at the axon terminal, where inhibitory presynaptic feedback supports background-invariant calcium responses to increases (but not decreases) in odor concentration. Computational analyses demonstrate that such invariance requires an adaptation strategy in ORNs that shifts response amplitude rather than sensitivity, diverging from efficient coding principles in single neurons. Downstream, postsynaptic projection neurons also exhibit background-invariant responses through presynaptic plasticity involving Unc13 proteins. Thus, the olfactory circuit restores stable population codes by undoing peripheral firing rate adaptation, enabling an asymmetric contrast representation that preserves stimulus identity across backgrounds.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
Zenodo 15937307
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
9 files
- 2p_analysis.zip/
Batch_Alignment.m — MATLAB, 41 lines - 2p_analysis.zip/
efficient_subpixel_regis — MATLAB, 226 linestration/ dftregistration.m - 2p_analysis.zip/
efficient_subpixel_regis — MATLAB, 143 linestration/ efficient_subpixel_regis tration.m - 2p_analysis.zip/
ptech_matlab_toolbox/ — MATLAB, 247 linesimport_PrairieTif.m - 2p_analysis.zip/
ptech_matlab_toolbox/ — MATLAB, 184 linesprairieView_Com.m - 2p_analysis.zip/
ptech_matlab_toolbox/ — MATLAB, 81 linesprairieView_ExportCoordF ile.m - 2p_analysis.zip/
ptech_matlab_toolbox/ — MATLAB, 215 linesprairieView_ImageMonitor .m - 2p_analysis.zip/
tiffread/ — MATLAB, 108 linestiffread.m - 2p_analysis.zip/
tseries_align.m — MATLAB, 93 lines
gitlab.rlp.net/mrtlllab/brandao_ramirez_adaptation2024
a54df0013c5ac4886ab4959393bbcfb1a9bc3d6a, 17 July 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
3 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 a54df00, when its fingerprint is the one OSCR verified. How this works.
- Firing_rate__Fig6_SupFig
2__.ipynb — Jupyter, 406 lines, shown from its source - PopulationCode__Fig1_Fig
8_.ipynb — Jupyter, 1,080 lines, shown from its source - README.md — Text, 14 lines, shown from its source
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;
- 11 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- 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 conclusions in the paper are present in the paper and/
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, 6 authors, 9 MeSH terms, 3 funders, 91 references.
Cite
This paper
Brandão, S. C., Ramirez, L., Züfle, P., Walter, A. M., Silies, M., & Martelli, C. (2026). Undoing of firing rate adaptation enables invariant population codes. Science advances, 12(34), eaeg3535. https://
BibTeX
@article{brandao2026undo
author = {Brandão, Sofia C. and Ramirez, Luisa and Züfle, Pascal and Walter, Alexander M. and Silies, Marion and Martelli, Carlotta},
title = {{Undoing of firing rate adaptation enables invariant population codes}},
journal = {Science advances},
year = {2026},
month = aug,
volume = {12},
number = {34},
pages = {eaeg3535},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/
url = {https://
pmid = {42616897},
pmcid = {PMC13488935}
}
RIS
TY - JOUR
AU - Brandão, Sofia C.
AU - Ramirez, Luisa
AU - Züfle, Pascal
AU - Walter, Alexander M.
AU - Silies, Marion
AU - Martelli, Carlotta
TI - Undoing of firing rate adaptation enables invariant population codes
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/
VL - 12
IS - 34
SP - eaeg3535
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1126/
"type": "article-journal",
"title": "Undoing of firing rate adaptation enables invariant population codes",
"container-title": "Science advances",
"author": [
{
"family": "Brandão",
"given": "Sofia C."
},
{
"family": "Ramirez",
"given": "Luisa"
},
{
"family": "Züfle",
"given": "Pascal"
},
{
"family": "Walter",
"given": "Alexander M."
},
{
"family": "Silies",
"given": "Marion"
},
{
"family": "Martelli",
"given": "Carlotta"
}
],
"container-title-short":
"volume": "12",
"issue": "34",
"page": "eaeg3535",
"DOI": "10.1126/
"PMID": "42616897",
"PMCID": "PMC13488935",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
19
]
]
}
}
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.3389/fnsys.2026.1822122 [code]
- Convergence-divergence circuits for multimodal integration of innate and learned opponent valences.Journal: Frontiers in systems neuroscienceIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 9 references
- [2] doi:10.1371/journal.pbio.3003959 [code]
- Recurrent synapses between CO2-sensitive olfactory sensory neurons enable robust CO2 detection in Aedes aegypti mosquitoes.Journal: PLoS biologyIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, cellular / molecular, 9 references
- [3] doi:10.7554/elife.108529 [code]
- Inhibitory columnar feedback neurons are involved in motion processing in &
lt;i& gt;Drosophila& lt;/ i& gt;. Journal: eLifeIn common: SciPy, Matplotlib, NumPy, 5 references, author Marion Silies - [4] doi:10.1038/s41467-026-73032-0 [code]
- Fast efficient coding and sensory adaptation in gain-adaptive recurrent networks.Journal: Nature communicationsIn common: SciPy, Matplotlib, NumPy, 5 references
- [5] doi:10.1126/sciadv.aed4172 [code]
- Locomotion optimizes sensory representations through a computational principle shared by rodents and primates.Journal: Science advancesIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, cellular / molecular, 4 references
- [6] doi:10.1038/s41586-026-10827-7 [code]
- A vector-based strategy for olfactory navigation in Drosophila.Journal: NatureIn common: SciPy, Matplotlib, NumPy, 4 references
- [7] doi:10.7554/elife.110685 [code]
- Sensory adaptation and pupil-linked arousal support flexible evidence accumulation during perceptual decision making.Journal: eLifeIn common: 5 references
- [8] doi:10.1038/s41586-026-10735-w [code]
- Distributed control circuits across a brain-and-cord connectome.Journal: NatureIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 3 references
- [9] doi:10.1038/s41586-026-10526-3
- Transcription factor codes patterning neuronal groundplans of the cerebrum.Journal: NatureIn common: cellular / molecular, 4 references
- [10] doi:10.1038/s41467-026-75945-2 [code]
- Neural dynamics for working memory and evidence integration during olfactory navigation in Drosophila.Journal: Nature communicationsIn common: 4 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 11 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:b72aa1f77df247cd…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
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.
