Stable readout of visual representations mediates flexible generalization.
2 blocks of code here have 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 2 matches
- [1] § Methods › Method details › Electrophysiological recordings and response epochs ↔ supp3_tuning.m, lines 166 to 233 · score 0.55 · 50–550 ms, channel, spike, 250 Hz, 200 Hz, 200 ms · block
oscr:b:AH1YW6N3JARFW-V· Report a mismatch - [2] § Methods › Method details › Shape stimulus generation ↔ shapegen_3d_medaxis/gen_shape.m, lines 1 to 35 · score 0.53 · medial axis, global, gloss, twist, smoothed, curved · block
oscr:b:6B35HGRG3Y88C-L· 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
MATLAB · 233 lines · 10 KB · MIT · 1 match
- clc; close all; clear;
- load('data/supp3_tuning.mat')
- %%
- figure('color','w','Position',[94,316,895,508])
- % ====== random trial raster ================
- randTrial = 291; % randi(length(params));
- % set 14, curv 0.9074, sel 0.1853
- hRaster = subplot(4,4,[1 2 5 6 9 10]);
- hPsth = subplot(4,4,[13 14]);
- plotRaster(hRaster,hPsth,params(randTrial),eid)
- % ====== random unit tuning example v4 ======
- sets = unique([params.set]); % sets = sets(2:3);
- cols = [187 135 134; 142 230 232; 158 208 150; ]/255; % autumn(length(sets));
- subplot(244); hold on; cla;
- randUnitId = 46; % randi(size(v4sites_stim,2));
- for ii=1:length(sets)
- cc = [params([params.set] == sets(ii)).curv];
- nnresp_stim = v4sites_stim([params.set] == sets(ii),randUnitId);
- % nnresp_stim = nnresp_stim-mean(respBase.v4sites(:,randUnitId));
- plotTrendPatchLine(gca,cc,nnresp_stim',cols(ii,:),true);
- nnresp_arc = v4sites_arc([params.set] == sets(ii),randUnitId);
- % nnresp_arc = nnresp_arc-mean(respBase.v4sites(:,randUnitId));
- plotTrendPatchLine(gca,cc,nnresp_arc',0.8*cols(ii,:),true);
- end
- fixPlot(gca,[-0.1 1.1],[30 270],'curvature','response',0:0.25:1,0:50:250,'example v4 unit');
- % {'' 'shape 13' '' 'shape 13+arc' '' 'shape 14' '' 'shape 14+arc'})
- % legend('box','on','location','northwest')
- % ====== random unit tuning example v1 ======
- subplot(243); hold on; cla;
- randUnitId = 11; % randi(size(v1sites_stim,2));
- for ii=1:length(sets)
- cc = [params([params.set] == sets(ii)).curv];
- nnresp_stim = v1sites_stim([params.set] == sets(ii),randUnitId);
- % nnresp_stim = nnresp_stim-mean(respBase.v1sites(:,randUnitId));
- plotTrendPatchLine(gca,cc,nnresp_stim',cols(ii,:),true);
- nnresp_arc = v1sites_arc([params.set] == sets(ii),randUnitId);
- % nnresp_arc = nnresp_arc-mean(respBase.v1sites(:,randUnitId));
- plotTrendPatchLine(gca,cc,nnresp_arc',0.8*cols(ii,:),true);
- end
- fixPlot(gca,[-0.1 1.1],[35 215],'curvature','response',0:0.25:1,0:50:250,'example v1 unit')
- % legend('box','on','location','northwest')
- % ====== selectivity for this session ======
- sets = unique([params.set]); % sets = sets(2:3);
- selId_v4_stim = nan(size(v4sites_stim,2),length(sets));
- selId_v4_arc = nan(size(v4sites_stim,2),length(sets));
- selId_v1_stim = nan(size(v1sites_stim,2),length(sets));
- selId_v1_arc = nan(size(v1sites_stim,2),length(sets));
- for ii=1:length(sets)
- cc = [params([params.set] == sets(ii)).curv];
- for nn=1:size(v4sites_stim,2)
- nnresp_stim = v4sites_stim([params.set] == sets(ii),nn);
- % nnresp_stim = nnresp_stim-mean(respBase.v4sites(:,nn));
- [~,nnresp_stim] = plotTrendPatchLine([],cc,nnresp_stim',[],true);
- selId_v4_stim(nn,ii) = (max(nnresp_stim)-min(nnresp_stim))./(max(nnresp_stim)+min(nnresp_stim));
- [nnresp_stim_max,idx] = max(nnresp_stim);
- nnresp_arc = v4sites_arc([params.set] == sets(ii),nn);
- % nnresp_arc = nnresp_arc-mean(respBase.v4sites(:,nn));
- [~,nnresp_arc] = plotTrendPatchLine([],cc,nnresp_arc',[],true);
- % selId_v4_arc(nn,ii) = (max(nnresp_arc)-min(nnresp_arc))./(max(nnresp_arc)+min(nnresp_arc));
- % selId_v4_arc(nn,ii) = (max(nnresp_arc)-max(nnresp_stim))./(max(nnresp_arc)+max(nnresp_stim));
- selId_v4_arc(nn,ii) = (nnresp_stim_max-nnresp_arc(idx))./(nnresp_stim_max+nnresp_arc(idx));
- end
- for nn=1:size(v1sites_stim,2)
- nnresp_stim = v1sites_stim([params.set] == sets(ii),nn);
- % nnresp_stim = nnresp_stim-mean(respBase.v1sites(:,nn));
- [~,nnresp_stim] = plotTrendPatchLine([],cc,nnresp_stim',[],true);
- selId_v1_stim(nn,ii) = (max(nnresp_stim)-min(nnresp_stim))./(max(nnresp_stim)+min(nnresp_stim));
- [nnresp_stim_max,idx] = max(nnresp_stim);
- nnresp_arc = v1sites_arc([params.set] == sets(ii),nn);
- % nnresp_arc = nnresp_arc-mean(respBase.v1sites(:,nn));
- [~,nnresp_arc] = plotTrendPatchLine([],cc,nnresp_arc',[],true);
- % selId_v1_arc(nn,ii) = (max(nnresp_arc)-min(nnresp_arc))./(max(nnresp_arc)+min(nnresp_arc));
- % selId_v1_arc(nn,ii) = (max(nnresp_arc)-max(nnresp_stim))./(max(nnresp_arc)+max(nnresp_stim));
- selId_v1_arc(nn,ii) = (nnresp_stim_max-nnresp_arc(idx))./(nnresp_stim_max+nnresp_arc(idx));
- end
- end
- subplot(247); hold on;
- % plot(selId_v1_stim(:),abs(selId_v1_arc(:)),'.','color',[0.2 0.5 0.9],'markersize',12)
- % plot(selId_v4_stim(:),abs(selId_v4_arc(:)),'.','color',[0.9 0.5 0.2],'markersize',12)
- scatter(abs(selId_v1_stim(:)),abs(selId_v1_arc(:)),20,[0.2 0.5 0.9],'filled','MarkerFaceAlpha',1)
- fixPlot(gca,[-0.04 0.44],[-0.04 0.44],'curvature selectivity','curvature+arc selectivity',0:0.2:1,0:0.2:1,'v1')
- subplot(248); hold on;
- scatter(abs(selId_v4_stim(:)),abs(selId_v4_arc(:)),20,[0.9 0.5 0.2],'filled','MarkerFaceAlpha',1)
- fixPlot(gca,[-0.04 0.44],[-0.04 0.44],'curvature selectivity','curvature+arc selectivity',0:0.2:1,0:0.2:1,'v4')
- %% selectivity across sessions
- load('data/supp3_selectivity.mat','selId_v4_arc_all','selId_v1_arc_all','selId_v4_stim_all','selId_v1_stim_all');
- idx = (selId_v1_stim_all==1 | selId_v1_arc_all==1);
- selId_v1_stim_all(idx) = [];
- selId_v1_arc_all(idx) = [];
- idx = (selId_v4_stim_all==1 | selId_v4_arc_all==1);
- selId_v4_stim_all(idx) = [];
- selId_v4_arc_all(idx) = [];
- figure('color','w','pos',[390,410,794,329])
- subplot(245); hold on;
- plot(selId_v1_stim_all,selId_v1_arc_all,'.','color',[0.2 0.5 0.9],'markersize',10)
- plot(nanmean(selId_v1_stim_all),nanmean(selId_v1_arc_all),'+','markersize',15,'linewidth',1,'color',0.3*[0.2 0.5 0.9]);
- line([0 1],[0 1],'linestyle','--','color','k','linewidth',2);
- beta = regress(selId_v1_arc_all,[ones(size(selId_v1_stim_all,1),1) selId_v1_stim_all]);
- line([0 1],[beta(1) sum(beta)],'linestyle','--','color','r','linewidth',2);
- fixPlot(gca,[0 1],[-0.5 1],'curvature selectivity','curvature+arc selectivity',0:0.5:1,-0.5:0.5:1,'v1')
- % binE = -0.0125:0.025:1.0125;
- % binC = (binE+circshift(binE,-1))/2; binC = binC(1:end-1);
- % [cx,cy] = meshgrid(binC,binC);
- % clevels = 50:100:1000;
- % a = histcounts2(selId_v1_stim_all,selId_v1_arc_all,binE,binE);
- % [~,ha] = contour(cx,cy,a,clevels);
- subplot(241);
- histogram(selId_v1_stim_all,linspace(0,1,25),'DisplayStyle','stairs','EdgeColor',[0.2 0.5 0.9],'linewidth',2)
- fixPlot(gca,[0 1],[0 12000],'','',0:0.5:1,[])
- subplot(246);
- histogram(selId_v1_arc_all,linspace(-0.5,1,25),'DisplayStyle','stairs','EdgeColor',[0.2 0.5 0.9],'linewidth',2)
- fixPlot(gca,[-0.5 1],[0 12000],'','',-0.5:0.5:1,[])
- subplot(247); hold on;
- plot(selId_v4_stim_all,selId_v4_arc_all,'.','color',[0.9 0.5 0.2],'markersize',10)
- plot(nanmean(selId_v4_stim_all),nanmean(selId_v4_arc_all),'+','markersize',15,'linewidth',1,'color',0.3*[0.9 0.5 0.2]);
- line([0 1],[0 1],'linestyle','--','color','k','linewidth',2);
- beta = regress(selId_v4_arc_all,[ones(size(selId_v4_stim_all,1),1) selId_v4_stim_all]);
- line([0 1],[beta(1) sum(beta)],'linestyle','--','color','r','linewidth',2);
- fixPlot(gca,[0 1],[-0.5 1],'curvature selectivity','curvature+arc selectivity',0:0.5:1,-0.5:0.5:1,'v4')
- % a = histcounts2(abs(selId_v4_stim_all),abs(selId_v4_arc_all),binE,binE);
- % contour(cx,cy,a,clevels)
- subplot(243);
- histogram(selId_v4_stim_all,linspace(0,1,25),'DisplayStyle','stairs','EdgeColor',[0.9 0.5 0.2],'linewidth',2)
- fixPlot(gca,[0 1],[0 12000],'','',0:0.5:1,[])
- subplot(248);
- histogram(selId_v4_arc_all,linspace(-0.5,1,25),'DisplayStyle','stairs','EdgeColor',[0.9 0.5 0.2],'linewidth',2)
- fixPlot(gca,[-0.5 1],[0 12000],'','',-0.5:0.5:1,[])
- %% functions
- function [xx_u,yy_m] = plotTrendPatchLine(h,xVar,yVar,col,doSmooth)
- [xx_u,~,grp] = unique(xVar);
- yy_m = groupsummary(yVar',grp,'mean'); if doSmooth; yy_m = smooth(yy_m); end
- yy_s = groupsummary(yVar',grp,'std')./sqrt(groupsummary(yVar',grp,'nnz'));
- if ~isempty(h)
- hold(h,'on')
- patch([xx_u fliplr(xx_u)]',[yy_m-yy_s/2; flipud(yy_m+yy_s/2)],col,'edgecolor','none','facealpha',0.5,'parent',h)
- plot(h,xx_u,yy_m,'linewidth',2,'color',col);
- end
- end
- function plotRaster(hRaster,hPsth,param_trial,eid)
- tMarks = [0 param_trial.time.stimOn param_trial.time.fixStayAfterTargOn param_trial.time.targStay param_trial.time.corrStay];
- tMarks = [-param_trial.time.fixStay cumsum(tMarks)];
- cols = [0.9 0.5 0.2; 0.2 0.5 0.9];
- hold(hRaster,'on');
- gSites = find(eid(:,1) == 1);
- pl = ismember(param_trial.spikes(:,2),gSites);
- v4s = param_trial.spikes(pl,:);
- [~,~,a] = unique(v4s(:,2)); v4s(:,2) = a;
- % plot(v4s(:,1),v4s(:,2),'b.','color',cols(1,:))
- scatter(hRaster,v4s(:,1),v4s(:,2),7,cols(1,:),'filled','markerfacealpha',1);
- gSites = find(eid(:,1) == 2);
- pl = ismember(param_trial.spikes(:,2),gSites);
- v1s = param_trial.spikes(pl,:);
- [~,~,a] = unique(v1s(:,2)); v1s(:,2) = a+max(v4s(:,2));
- scatter(hRaster,v1s(:,1),v1s(:,2),7,cols(2,:),'filled','markerfacealpha',1);
- arrayfun(@(jj) line(hRaster,[tMarks(jj) tMarks(jj)],[1 256],'linewidth',2,'color','k'),1:length(tMarks))
- tMax = round(max(tMarks),-2)+200;
- tMax = 950;
- % t = [floor(min([v4s(:,1);v1s(:,1);sas(:,1)])) ceil(max([v4s(:,1);v1s(:,1);sas(:,1)]))];
- t = (param_trial.lims_trial - param_trial.lims_stim(1))/30;
- tLims = [t(1) tMax];
- fixPlot(hRaster,tLims,[0 193],'','channel',0:250:t(2),0:96:256) % 257 for 7a
- set(hRaster,'xtick',[]);
- axis(hRaster,'normal'); grid(hRaster,'off')
- % PSTH
- hold(hPsth,'on')
- allS = [v1s;v4s];
- % t = floor(min(allS(:,1))) :1: ceil(max(allS(:,1)));
- t = linspace(tLims(1),tLims(2),200);
- psths = zeros(192,length(t));
- for ii=1:192
- sp = allS(allS(:,2)==ii,1);
- psth = zeros(1,length(t));
- for s=1:length(sp)
- temp1 = getGaussian([1,sp(s),20],t);
- temp2 = getGaussian([1,sp(s),90],t);
- [~,idx] = max(temp1);
- temp = [temp1(1:idx) temp2(idx+1:end)];
- psth = psth + temp;
- end
- psth = psth-mean(psth(t<0));
- psth = psth * 1;
- % if ii<=96
- % col = cols(2,:);
- % else
- % col = cols(1,:);
- % end
- % plot(hPsth,t,psth,'color',col); hold on;
- psths(ii,:) = psth;
- end
- psth_v1 = mean(psths(1:96,:));
- psth_v4 = mean(psths(97:end,:));
- plot(hPsth,t,psth_v1,'color',cols(2,:),'linewidth',2);
- plot(hPsth,t,psth_v4,'color',cols(1,:),'linewidth',2);
- line(hPsth,[50 550],[0 0],'linewidth',5,'color','k')
- arrayfun(@(jj) line(hPsth,[tMarks(jj) tMarks(jj)],[-1 10],'linewidth',2,'color','k'),1:length(tMarks))
- fixPlot(hPsth,tLims,[-1 10],'time (ms)','response (a.u.)',0:250:max(t),0:96:256)
- axis(hPsth,'normal'); grid(hRaster,'off')
- % psths = flipud(psths);
- end
supp3_tuning.m at commit bcb6e62, under MIT · at the source
Overview
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
ramanujansrinath/flexigain
bcb6e62cc85ca5d7f509283f1c75ca0e3d3e9d6f, 22 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
39 files
- dep/
decodeFn.m , MATLAB, 11 lines - dep/
fix3dPlot.m , MATLAB, 57 lines - dep/
fixPlot.m , MATLAB, 48 lines - figure1_beh.m, MATLAB, 41 lines
- figure2_cross.m, MATLAB, 183 lines
- figure2_error.m, MATLAB, 49 lines
- figure2_error_example.m, MATLAB, 140 lines
- figure2_general.m, MATLAB, 84 lines
- figure3_saccade.m, MATLAB, 130 lines
- figure3_simulation.m, MATLAB, 228 lines
- figure4_decode.m, MATLAB, 136 lines
- figure4_rest.m, MATLAB, 127 lines
- figure4_simulation.m, MATLAB, 299 lines
- rnn_training/
cnn_inputs/ , Python, 88 linesnw_task_init.py - rnn_training/
cnn_inputs/ , Python, 116 linesnw_task_test.py - rnn_training/
cnn_inputs/ , Python, 98 linesnw_train_test.py - rnn_training/
simple_inputs/ , Python, 84 linesnw_task_init.py - rnn_training/
simple_inputs/ , Python, 92 linesnw_task_test.py - rnn_training/
simple_inputs/ , Python, 89 linesnw_train_test.py - shapegen_2d_homeomorph/
gen_homeomorph.m , MATLAB, 68 lines - shapegen_3d_medaxis/
dep/ , MATLAB, 27 linescheckPolygon.m - shapegen_3d_medaxis/
dep/ , MATLAB, 99 linesgen_shape_2d.m - shapegen_3d_medaxis/
dep/ , MATLAB, 84 linesgetColor.m - shapegen_3d_medaxis/
dep/ , MATLAB, 12 linesmovePts.m - shapegen_3d_medaxis/
disp_shape.m , MATLAB, 36 lines - shapegen_3d_medaxis/
gen_shape.m , MATLAB, 267 lines, 1 match - supp10_tuning.m, MATLAB, 32 lines
- supp2_beh.m, MATLAB, 75 lines
- supp2_novel.m, MATLAB, 36 lines
- supp3_tuning.m, MATLAB, 233 lines, 1 match
- supp4_curvVline.m, MATLAB, 68 lines
- supp4_pca.m, MATLAB, 108 lines
- supp4_pca_error.m, MATLAB, 242 lines
- supp7_intercept.m, MATLAB, 97 lines
- supp8_rnn.m, MATLAB, 143 lines
- supp9_cnnrnn_in.m, MATLAB, 51 lines
- supp9_cnnrnn_out.m, MATLAB, 110 lines
- LICENSE, License, 21 lines
- README.md, Text, 44 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: ramanujansrinath/
flexigain
Read it in the paper: doi.org/10.1038/s41467-026-74818-y.
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;
- 37 scripts, each with its path and the digest of its content;
- 2 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
- zenodo:20347874, at Zenodo; found in “Data availability”
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: Zenodo 20347874
- it points to the authors' code: ramanujansrinath/
flexigain
Read it in the paper: doi.org/10.1038/s41467-026-74818-y.
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, 3 authors, 4 keywords, 10 MeSH terms, 6 funders, 55 references.
Cite
This paper
Srinath, R., Czarnik, M. M., & Cohen, M. R. (2026). Stable readout of visual representations mediates flexible generalization. Nature communications, 17(1), 7914. https://
BibTeX
@article{srinath2026stab
author = {Srinath, Ramanujan and Czarnik, Martyna M and Cohen, Marlene R},
title = {{Stable readout of visual representations mediates flexible generalization}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7914},
publisher = {Nature Portfolio},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42342672},
pmcid = {PMC13443561}
}
RIS
TY - JOUR
AU - Srinath, Ramanujan
AU - Czarnik, Martyna M
AU - Cohen, Marlene R
TI - Stable readout of visual representations mediates flexible generalization
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 7914
SN - 2041-1723
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Stable readout of visual representations mediates flexible generalization",
"container-title": "Nature communications",
"author": [
{
"family": "Srinath",
"given": "Ramanujan"
},
{
"family": "Czarnik",
"given": "Martyna M"
},
{
"family": "Cohen",
"given": "Marlene R"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "7914",
"DOI": "10.1038/
"PMID": "42342672",
"PMCID": "PMC13443561",
"ISSN": "2041-1723",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
24
]
]
}
}
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-025-88910-8 [code]
- Orthogonal neural representations support perceptual judgments of natural stimuli.Journal: Scientific reportsIn common: Statistics and Machine Learning Toolbox, behavior only, non-human primate, 10 references, author Ramanujan Srinath
- [2] doi:10.1073/pnas.2411909122 [code]
- Emergent neuronal mechanisms mediating covert attention in convolutional neural networks.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: SciPy, Matplotlib, NumPy, cognitive, 8 references
- [3] doi:10.7554/elife.67258 [code]
- A general decoding strategy explains the relationship between behavior and correlated variability.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, non-human primate, 5 references, author Marlene R Cohen
- [4] doi:10.1073/pnas.2614164123
- Loss of neuronal population organization links pathology to behavior in a model of Alzheimer's disease.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: 5 references, author Ramanujan Srinath
- [5] doi:10.1073/pnas.2216942120 [code]
- Different roles of response covariability and its attentional modulation in the sensory cortex and posterior parietal cortex.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Statistics and Machine Learning Toolbox, SciPy, Matplotlib, 1 other tool, cognitive, 7 references
- [6] doi:10.1073/pnas.2219557120 [code]
- Topological insights into the neural basis of flexible behavior.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: SciPy, cognitive, 5 references, author Marlene R Cohen
- [7] doi:10.1038/s41467-026-71725-0 [code]
- Interactions across hemispheres in prefrontal cortex reflect global cognitive processing.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, SciPy, Matplotlib, 1 other tool, non-human primate, cognitive, 7 references
- [8] doi:10.1038/s42003-024-06228-z [code]
- Distributed and dynamical communication: a mechanism for flexible cortico-cortical interactions and its functional roles in visual attention.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, SciPy, Matplotlib, 1 other tool, cognitive, 6 references
- [9] doi:10.1371/journal.pcbi.1013396 [code]
- Near-random connections support top-down feature-based attentional modulations in early sensory cortex.Journal: PLoS computational biologyIn common: SciPy, Matplotlib, NumPy, 7 references
- [10] doi:10.1038/s41593-025-02183-y [code]
- Neural population geometry and optimal coding of tasks with shared latent structure.Journal: Nature neuroscienceIn common: Statistics and Machine Learning Toolbox, SciPy, Matplotlib, 1 other tool, 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.
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: 1 repository of the authors' code, each at its verified commit and with its license, 37 scripts, and 2 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:2bb8db2243e91e39…
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.1038/s41467-026-74818-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-74818-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-74818-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-74818-y"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-74818-y.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.
