Undoing of firing rate adaptation enables invariant population codes.
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 · 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
- Firing_rate__Fig6_SupFig
2__.ipynb , Jupyter, 406 lines - PopulationCode__Fig1_Fig
8_.ipynb , Jupyter, 1,080 lines - README.md, Text, 14 lines
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.1126/sciadv.adp9587 [code]
- Impact of developmental temperature on neural growth, connectivity, and function.Journal: Science advancesIn common: SciPy, Matplotlib, NumPy, 7 references, 3 authors
- [2] doi:10.1016/j.cub.2025.02.034 [code]
- Nonlinear high-activity neuronal excitation enhances odor discrimination.Journal: Current biology : CBIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, cellular / molecular, 15 references
- [3] doi:10.7554/elife.88824 [code]
- The unique synaptic circuitry of specialized olfactory glomeruli in &
lt;i& gt;Drosophila melanogaster& lt;/ i& gt;. Journal: eLifeIn common: SciPy, Matplotlib, NumPy, cellular / molecular, 16 references - [4] doi:10.1038/s41467-024-52724-5 [code]
- Neural pathways and computations that achieve stable contrast processing tuned to natural scenes.Journal: Nature communicationsIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, cellular / molecular, 6 references, 2 authors
- [5] doi:10.1371/journal.pcbi.1011176 [code]
- Gain modulation and odor concentration invariance in early olfactory networks.Journal: PLoS computational biologyIn common: cellular / molecular, 11 references
- [6] doi:10.1038/s41467-023-42613-8 [code]
- Sensorimotor transformation underlying odor-modulated locomotion in walking Drosophila.Journal: Nature communicationsIn common: 11 references
- [7] 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
- [8] doi:10.1073/pnas.2117484120 [code]
- Normative and mechanistic model of an adaptive circuit for efficient encoding and feature extraction.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 9 references
- [9] 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
- [10] doi:10.7554/elife.89330 [code]
- Adaptation invariant concentration discrimination in an insect olfactory system.Journal: eLifeIn common: 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.
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 the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1126/sciadv.aeg3535)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1126/sciadv.aeg3535.svg
:target: https://openscicode.org/badge/doi/10.1126/sciadv.aeg3535
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1126/sciadv.aeg3535"><img src="https://openscicode.org/badge/doi/10.1126/sciadv.aeg3535.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
