OSCR

Flexible integration of natural stimuli by auditory cortical neurons.

Code ↔ Paper

1 match 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.

One block of code here has 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 1 match
  1. [1] § Materials and Methods › Neuron model › Stimulus encoding ↔ models.py, lines 9 to 20 · score 0.59 · leaky integrate, fire model, gammatone, noise, sound · block oscr:b:AADZWZW1R3R48-T · 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

Python · 86 lines · 2.4 KB · no license · 1 match

  1. from brian2 import *
  2. import brian2hears as bh
  3. from brian2.units import (ms, um, pA, nS, uS, ohm, cm, mV, uF, kHz)
  4. from brian2hears import (dB)
  5. from dendrify import Soma, Dendrite, NeuronModel
  6. #from soundsig.sound import BioSound
  7. import scipy.io.wavfile as wav
  8. def ihc_model(sound, minfreq, maxfreq, nfilters):
  9. cf = linspace(minfreq*kHz, maxfreq*kHz, nfilters)
  10. gfb = bh.Gammatone(sound, cf)
  11. ihc = bh.FunctionFilterbank(gfb, lambda x: 3*clip(x, 0, Inf)**(1.0/3.0))
  12. # Leaky integrate-and-fire model with noise and refractoriness
  13. eqs = '''
  14. dv/dt = (I-v)/(1*ms)+0.2*xi*(2/(1*ms))**.5 : 1 (unless refractory)
  15. I : 1
  16. '''
  17. G = bh.FilterbankGroup(ihc, 'I', eqs, reset='v=0', threshold='v>1', refractory=5*ms)
  18. return G
  19. def ihc_model2(filtered, scalefactor):
  20. params = {
  21. 'El' : -60*mV,
  22. 'R' : 0.2*ohm,
  23. 'tau': 1*ms,
  24. 'mu' : 0*mV,
  25. 'sigma':3*mV,
  26. 'scale_factor' : scalefactor
  27. }
  28. eqs = '''
  29. dv/dt = (-(v-El)+R*I2)/tau + mu/tau + sigma*xi*(2/tau)**0.5 : volt
  30. I2 = scale_factor*I*amp : amp
  31. I: 1
  32. '''
  33. G = bh.FilterbankGroup(filtered, 'I', eqs, reset="v=-20*mV", threshold="v>-40*mV", refractory=5*ms, namespace=params)
  34. G.v = params['El']
  35. return(G)
  36. def ihc_model3(filtered, scalefactor):
  37. params = {
  38. 'El' : -60*mV,
  39. 'R' : 0.2*ohm,
  40. 'tau': 1*ms,
  41. 'mu' : 0*mV,
  42. 'sigma':3*mV,
  43. 'scale_factor' : scalefactor
  44. }
  45. eqs = '''
  46. dv/dt = (-(v-El)+R*I2)/tau + mu/tau + sigma*xi*(2/tau)**0.5 : volt
  47. I2 = scale_factor*I*amp : amp
  48. I: 1
  49. '''
  50. G = bh.FilterbankGroup(filtered, 'I', eqs, reset="v=-20*mV", threshold="v>-50*mV", refractory=4*ms, namespace=params)
  51. G.v = params['El']
  52. return(G)
  53. def filtersound(sound, minfreq, maxfreq, nfilters):
  54. cf = bh.erbspace(minfreq, maxfreq, nfilters)
  55. gammatone = bh.Gammatone(sound, cf)
  56. cochlea = bh.FunctionFilterbank(gammatone, lambda x: 3*clip(x, 0, Inf)**(1.0/3.0))
  57. return(cochlea)
  58. #def calculate_specs(soundpath):
  59. # fs, sound_sig = wav.read(soundpath)
  60. # myBioSound = BioSound(sound_sig, fs=fs)
  61. # myBioSound.spectrum(f_high=120000)
  62. # properties = np.array([myBioSound.q1, myBioSound.q2, myBioSound.q3, myBioSound.meanspect, myBioSound.stdspect])
  63. # return properties

models.py at commit 3af7c38, no license · at the source

Overview

Authors: Grace Wan Yu Ang, Claudia Clopath, Andriy S. Kozlov1
ORCID iDs: Andriy S. Kozlov
  1. Department of Bioengineering, Imperial College London
Institutions: Imperial College London (United Kingdom)
Journal: Journal of neurophysiology, volume 135, issue 5, pages 1385-1397
Dates: published online 21 April 2026; in print 1 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1152/jn.00200.2025 · PMID 42013083 · PMCID PMC7619095 · OpenAlex W4395013169
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism), systems (subfield)
Methods: Statistics, Spectral & time-frequency, Connectivity, Single-unit activity, calcium imaging
Keywords: Dendrites, auditory cortex, Cortical neurons, Flexible Operations, Mouse Usvs
MeSH: Auditory Cortex*, Auditory Perception*, Neurons*, Vocalization, Animal*, Acoustic Stimulation, Animals, Dendrites, Female, Male, Mice, Mice, Inbred C57BL, Models, Neurological (* major topic)
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: UKRI | Biotechnology and Biological Sciences Research Council (BB/N008731/1); Biotechnology and Biological Sciences Research Council (BB/N008731/1)
Citations: not cited yet (Europe PMC); 47 references in the paper

Abstract

Neurons have rich input-output functions for processing and combining their inputs. Although many experiments characterize these functions by directly activating synaptic inputs on dendrites in vitro, the integration of spatiotemporal inputs representing real-world stimuli is less well studied. Using ethologically relevant stimuli, we study neuronal integration in relation to Boolean AND and OR operations thought to be important for pattern recognition. We recorded single-unit responses in the mouse auditory cortex to pairs of ultrasonic mouse vocalization (USV) syllables. We observed a range of integration responses, spanning the sublinear to supralinear regimes, with many responses resembling the MAX-like function, an instantiation of the OR operation. Integration was more MAX-like for strongly activating features, and more AND-like for spectrally distinct inputs. Importantly, single neurons could implement more than one integration function, in contrast to artificial networks which typically fix activation functions across all units and inputs. To understand the mechanism underlying the flexibility and heterogeneity in neuronal integration, we modelled how dendritic properties could influence the integration of inputs with complex spectrotemporal structure. Our results link nonlinear integration in dendrites to single-neuron computations for pattern recognition.

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

Repository

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

kozlovlabcode/flex_integration

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 3af7c38f1c8a682454d4ad210682c122bc15d5d5, 6 February 2024
Languages: Python (5), Jupyter (1)
Size: 227 files, 6 scripts
Software Heritage: not archived
Found in: the text, “Neuron model”
Holds: README, environment (env.yml), 1 notebook
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: Brian 2 (4 files), NumPy (4 files), Matplotlib (2 files), pandas (2 files), SciPy (2 files), seaborn (2 files)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
7 files

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;
  • 6 scripts, each with its path and the digest of its content;
  • 1 match 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.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 12 MeSH terms, 2 funders, 44 references.

Cite

This paper

Ang, G. W. Y., Clopath, C., & Kozlov, A. S. (2026). Flexible integration of natural stimuli by auditory cortical neurons. Journal of neurophysiology, 135(5), 1385-1397. https://doi.org/10.1152/jn.00200.2025

BibTeX

@article{ang2026flexible,
author = {Ang, Grace Wan Yu and Clopath, Claudia and Kozlov, Andriy S.},
title = {{Flexible integration of natural stimuli by auditory cortical neurons}},
journal = {Journal of neurophysiology},
year = {2026},
month = apr,
volume = {135},
number = {5},
pages = {1385--1397},
publisher = {American Physiological Society},
issn = {0022-3077},
doi = {10.1152/jn.00200.2025},
url = {https://doi.org/10.1152/jn.00200.2025},
pmid = {42013083},
pmcid = {PMC7619095}
}

RIS

TY - JOUR
AU - Ang, Grace Wan Yu
AU - Clopath, Claudia
AU - Kozlov, Andriy S.
TI - Flexible integration of natural stimuli by auditory cortical neurons
T2 - Journal of neurophysiology
J2 - J Neurophysiol
PY - 2026
DA - 2026/04/21
VL - 135
IS - 5
SP - 1385
EP - 1397
SN - 0022-3077
PB - American Physiological Society
DO - 10.1152/jn.00200.2025
UR - https://doi.org/10.1152/jn.00200.2025
LA - en
ER -

CSL-JSON

{
"id": "10.1152/jn.00200.2025",
"type": "article-journal",
"title": "Flexible integration of natural stimuli by auditory cortical neurons",
"container-title": "Journal of neurophysiology",
"author": [
{
"family": "Ang",
"given": "Grace Wan Yu"
},
{
"family": "Clopath",
"given": "Claudia"
},
{
"family": "Kozlov",
"given": "Andriy S."
}
],
"container-title-short": "J Neurophysiol",
"volume": "135",
"issue": "5",
"page": "1385-1397",
"DOI": "10.1152/jn.00200.2025",
"PMID": "42013083",
"PMCID": "PMC7619095",
"ISSN": "0022-3077",
"publisher": "American Physiological Society",
"URL": "https://doi.org/10.1152/jn.00200.2025",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
21
]
]
}
}

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/s41598-024-65866-9 [code]
Demonstration that sublinear dendrites enable linearly non-separable computations.
Journal: Scientific reports
In common: Brian 2, SciPy, Matplotlib, 1 other tool, mouse, 8 references
[2] doi:10.7554/elife.89629 [code]
Active dendrites enable robust spiking computations despite timing jitter.
Journal: eLife
In common: seaborn, pandas, Matplotlib, 1 other tool, 9 references
[3] doi:10.1016/j.neuron.2021.09.044 [code]
A synaptic learning rule for exploiting nonlinear dendritic computation.
Journal: Neuron
In common: Matplotlib, NumPy, 10 references
[4] doi:10.7554/elife.93498 [code]
Clustered synapses develop in distinct dendritic domains in visual cortex before eye opening.
Journal: eLife
In common: seaborn, pandas, SciPy, 2 other tools, mouse, 7 references
[5] doi:10.7554/elife.97274 [code]
Local, calcium- and reward-based synaptic learning rule that enhances dendritic nonlinearities can solve the nonlinear feature binding problem.
Journal: eLife
In common: seaborn, SciPy, Matplotlib, 1 other tool, 8 references
[6] doi:10.1038/s41467-022-35747-8 [code]
Introducing the Dendrify framework for incorporating dendrites to spiking neural networks.
Journal: Nature communications
In common: Brian 2, seaborn, SciPy, 2 other tools, 6 references
[7] doi:10.7554/elife.65954 [code]
Developmental emergence of two-stage nonlinear synaptic integration in cerebellar interneurons.
Journal: eLife
In common: pandas, SciPy, Matplotlib, 1 other tool, mouse, 7 references
[8] doi:10.1016/j.celrep.2024.114413 [code]
Probing multiplexed basal dendritic computations using two-photon 3D holographic uncaging.
Journal: Cell reports
In common: SciPy, Matplotlib, NumPy, mouse, 7 references
[9] doi:10.1152/jn.00421.2023 [code]
Bidirectional generative adversarial representation learning for natural stimulus synthesis.
Journal: Journal of neurophysiology
In common: NumPy, systems, mouse, 3 references, author Andriy S. Kozlov
[10] doi:10.7554/elife.79535 [code]
Ultrafast simulation of large-scale neocortical microcircuitry with biophysically realistic neurons.
Journal: eLife
In common: seaborn, pandas, SciPy, 2 other tools, 6 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.1152/jn.00200.2025.svg)](https://openscicode.org/badge/doi/10.1152/jn.00200.2025)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1152/jn.00200.2025.svg
   :target: https://openscicode.org/badge/doi/10.1152/jn.00200.2025
   :alt: OSCR

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