OSCR

Alpha phase coding supports feature binding during working memory maintenance.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 35 lines · 793 B · no license

  1. from scipy.stats import circmean,circvar
  2. from cmath import phase
  3. from numpy import array
  4. from scipy.stats import circmean,circvar,circstd
  5. from numpy import *
  6. from cmath import phase
  7. from matplotlib.pylab import *
  8. def len2(x):
  9. if type(x) is not type([]):
  10. if type(x) is not type(array([])):
  11. return -1
  12. return len(x)
  13. def phase2(x):
  14. if not isnan(x):
  15. return phase(x)
  16. return nan
  17. def circdist(angles1,angles2):
  18. if len2(angles2) < 0:
  19. if len2(angles1) > 0:
  20. angles2 = [angles2]*len(angles1)
  21. else:
  22. angles2 = [angles2]
  23. angles1 = [angles1]
  24. if len2(angles1) < 0:
  25. angles1 = [angles1]*len(angles2)
  26. return amap(lambda a1,a2: phase2(exp(1j*a1)/exp(1j*a2)), angles1,angles2)
  27. def circdist_2pi(angles1,angles2):
  28. dist = circdist(angles1,angles2)
  29. dist[dist<0]+=2*pi
  30. return dist

circ_stats.py at commit bb9227a, no license · at the source

Overview

Authors: Mattia F Pagnotta1, Aniol Santo-Angles2, Ainsley Temudo2,3, Joao Barbosa4,5, Albert Compte4, Mark D’Esposito1,6, Kartik K Sreenivasan2,7
  1. Helen Wills Neuroscience Institute, University of California Berkeley, Berkeley, CA USA
  2. Division of Science and Mathematics, New York University Abu Dhabi, Abu Dhabi, United Arab Emirates
  3. University of Utah, Salt Lake City, UT USA
  4. Institut d’Investigacions Biomèdiques August Pi i Sunyer (IDIBAPS), Barcelona, Spain
  5. Laboratoire de Neurosciences Cognitives et Computationnelles, INSERM U960, École Normale Supérieure - PSL Research University, Paris, France
  6. Department of Psychology, University of California Berkeley, Berkeley, CA USA
  7. Center for Brain and Health, New York University Abu Dhabi, Abu Dhabi, United Arab Emirates
Journal: Communications biology, volume 9, issue 1, article 922
Dates: received 30 March 2025; accepted 7 April 2026; published online 4 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s42003-026-10071-9 · PMID 42082670 · PMCID PMC13346530 · OpenAlex W4391116397
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: MEG (modality), human (organism), cognitive (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Spectral & time-frequency, Source localization, Physiology & signal measures, Connectivity
Keywords: Cognitive neuroscience, Human behaviour
MeSH: Alpha Rhythm*, Memory, Short-Term*, Humans, Magnetoencephalography, Male (* major topic)
Topic: Advanced Memory and Neural Computing (Electrical and Electronic Engineering, Engineering), according to OpenAlex
Funding: Fundação Bial (ref: 356/19); Swiss National Science Foundation (195083, 214404, P500PB_214404, P2FRP3_195083); foundation for the national institutes of health (R01MH063901)
Citations: not cited yet (Europe PMC); 117 references in the paper

Abstract

The ability to successfully retain and manipulate information in working memory (WM) requires that objects’ individual features are bound into cohesive representations; yet, the mechanisms supporting feature binding remain unclear. Binding (or swap) errors, where memorized features are erroneously associated with the wrong object, can provide a window into the intrinsic limits in capacity of WM that represent a key bottleneck in our cognitive ability. We tested the hypothesis that binding in WM is accomplished via neural phase synchrony and that swap errors result from perturbations in this synchrony. Using magnetoencephalography data collected from human subjects in a task designed to induce swap errors, we showed that swaps are characterized by reduced phase-locked oscillatory activity during memory retention, as predicted by an attractor model of spiking neural networks. Further, we found that this reduction arises from increased phase coding variability in the alpha-band over a distributed network of sensorimotor areas. Our findings demonstrate that feature binding in WM is accomplished through phase coding dynamics that emerge from the competition between different memories.

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

Repository

Its files are read in the Code ↔ Paper reader above.

comptelab/binding

License: none: the authors keep all their rights
State: the link answers, verified on 30 October 2026
Evidence: files inventoried
Commit: bb9227aec9c080da9063ce632965a46043cd0807, 10 June 2021
Languages: Python (14)
Size: 15 files, 14 scripts
Software Heritage: archived
Found in: the text, “Computational model”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Matplotlib (10 files), NumPy (10 files), SciPy (10 files), scikit-learn (6 files), Brian 2 (2 files)
Availability: 2 checks, the latest on 30 October 2026: the link answers
  • 30 October 2026: the link answers
  • 28 September 2026: the link answers
15 files

Code availability

Analysis scripts are available on the Open Science Framework116. The computational model can be obtained from https://github.com/comptelab/binding. Supplemental data can be requested via email to the lead author.

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

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;
  • 14 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

Datasets cited

Data availability

Behavioral data and preprocessed MEG data are available on the Open Science Framework (https://osf.io/s5mcy/; https://osf.io/37hb6/)116,117.

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

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

Cite

This paper

Pagnotta, M. F., Santo-Angles, A., Temudo, A., Barbosa, J., Compte, A., D’Esposito, M., & Sreenivasan, K. K. (2026). Alpha phase coding supports feature binding during working memory maintenance. Communications biology, 9(1), 922. https://doi.org/10.1038/s42003-026-10071-9

BibTeX

@article{pagnotta2026alpha,
author = {Pagnotta, Mattia F and Santo-Angles, Aniol and Temudo, Ainsley and Barbosa, Joao and Compte, Albert and D’Esposito, Mark and Sreenivasan, Kartik K},
title = {{Alpha phase coding supports feature binding during working memory maintenance}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {922},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10071-9},
url = {https://doi.org/10.1038/s42003-026-10071-9},
pmid = {42082670},
pmcid = {PMC13346530}
}

RIS

TY - JOUR
AU - Pagnotta, Mattia F
AU - Santo-Angles, Aniol
AU - Temudo, Ainsley
AU - Barbosa, Joao
AU - Compte, Albert
AU - D’Esposito, Mark
AU - Sreenivasan, Kartik K
TI - Alpha phase coding supports feature binding during working memory maintenance
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/05/04
VL - 9
IS - 1
SP - 922
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10071-9
UR - https://doi.org/10.1038/s42003-026-10071-9
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10071-9",
"type": "article-journal",
"title": "Alpha phase coding supports feature binding during working memory maintenance",
"container-title": "Communications biology",
"author": [
{
"family": "Pagnotta",
"given": "Mattia F"
},
{
"family": "Santo-Angles",
"given": "Aniol"
},
{
"family": "Temudo",
"given": "Ainsley"
},
{
"family": "Barbosa",
"given": "Joao"
},
{
"family": "Compte",
"given": "Albert"
},
{
"family": "D’Esposito",
"given": "Mark"
},
{
"family": "Sreenivasan",
"given": "Kartik K"
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "922",
"DOI": "10.1038/s42003-026-10071-9",
"PMID": "42082670",
"PMCID": "PMC13346530",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10071-9",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
4
]
]
}
}

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.1101/2024.01.21.576561 [code]
Alpha phase coding supports feature binding during working memory maintenance
Journal: bioRxiv (preprint)
In common: Brian 2, scikit-learn, SciPy, 2 other tools, cognitive, 63 references, 5 authors
[2] doi:10.3389/fnhum.2024.1339728 [code]
Effective connectivity of working memory performance: a DCM study of MEG data.
Journal: Frontiers in human neuroscience
In common: MEG, cognitive, 21 references
[3] doi:10.1038/s41467-026-75705-2 [code]
Redundant prefrontal hemispheres adapt storage strategy to working memory demands.
Journal: Nature communications
In common: Brian 2, scikit-learn, SciPy, 2 other tools, cognitive, 6 references, 2 authors
[4] doi:10.1523/eneuro.0265-24.2024 [code]
Transcranial Direct Current Stimulation over the Posterior Parietal Cortex Increases Nontarget Retrieval during Visual Working Memory.
Journal: eNeuro
In common: cognitive, 12 references
[5] doi:10.1167/jov.21.12.7 [code]
Mechanisms of feature binding in visual working memory are stable over long delays.
Journal: Journal of vision
In common: cognitive, 12 references
[6] doi:10.1162/imag.a.1034 [code]
Top-down selection of visual working memory contents is supported by alpha-band phase-synchronized oscillatory networks
Journal: n/a
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, MEG, cognitive, 11 references
[7] doi:10.1038/s41598-023-41358-0
The association between working memory precision and the nonlinear dynamics of frontal and parieto-occipital EEG activity.
Journal: Scientific reports
In common: cognitive, 14 references
[8] doi:10.1038/s41467-024-53257-7 [code]
Distinct functions for beta and alpha bursts in gating of human working memory.
Journal: Nature communications
In common: cognitive, 13 references
[9] doi:10.1073/pnas.2401032121 [code]
The neural basis of swap errors in working memory.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, cognitive, 9 references
[10] doi:10.1371/journal.pbio.3001436 [code]
Pinging the brain with visual impulses reveals electrically active, not activity-silent, working memories.
Journal: PLoS biology
In common: SciPy, Matplotlib, cognitive, 3 references, 2 authors

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.1038/s42003-026-10071-9.svg)](https://openscicode.org/badge/doi/10.1038/s42003-026-10071-9)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-10071-9.svg
   :target: https://openscicode.org/badge/doi/10.1038/s42003-026-10071-9
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-10071-9"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-10071-9.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.