Physical activity enhances theta-periodicity of visual attentional allocation.
4 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 6 matches
- [1] § STAR★Methods › Method details › Theta modulation after cue onset ↔ attention_function/circ_wwtest.m, lines 1 to 76 · score 0.64 · Watson Williams, Circular Statistics Toolbox, concentration, bins · block
oscr:b:BQ5PPHEGY4H38-4· Report a mismatch - [2] § STAR★Methods › Quantification and statistical analysis ↔ attention_function/circ_wwtest.m, lines 1 to 76 · score 0.56 · Watson Williams, Circular Statistics Toolbox · block
oscr:b:BQ5PPHEGY4H38-4· Report a mismatch - [3] § Result › Theta modulation after cue onset ↔ plot_fig4C_corr_cue_theta_behave.m, lines 16 to 59 · score 0.54 · theta power, cue onset, theta amplitude, frontal, correlated, RTs · block
oscr:b:2RA756VGK44F0-M· Report a mismatch - [4] § Result › Theta rhythmic modulations in behavioral performance ↔ plot_supfig4_difference_PA_rest_FFT.m, lines 47 to 91 · score 0.54 · RT variance, FFT, accuracy, power, DA, RTs · block
oscr:b:XKWZ4N08HMS4B-C· Report a mismatch - [5] § STAR★Methods › Method details › Theta modulation after cue onset ↔ plot_fig4C_corr_cue_theta_behave.m, lines 16 to 59 · score 0.53 · theta power, theta amplitude, Spearman, frontal, sensors, correlated · block
oscr:b:2RA756VGK44F0-M· Report a mismatch - [6] § STAR★Methods › Quantification and statistical analysis ↔ plot_supfig7_frontalTheta_occHFA_coupling.m, lines 6 to 10 · score 0.53 · theta HFA coupling, frontal theta, phases, cue · block
oscr:b:JY5N4AQC55Z3V-B· 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 · 157 lines · 4.5 KB · no license · 2 matches
- function [pval table] = circ_wwtest(varargin)
- % [pval, table] = circ_wwtest(alpha, idx, [w])
- % [pval, table] = circ_wwtest(alpha1, alpha2, [w1, w2])
- % Parametric Watson-Williams multi-sample test for equal means. Can be
- % used as a one-way ANOVA test for circular data.
- %
- % H0: the s populations have equal means
- % HA: the s populations have unequal means
- %
- % Note:
- % Use with binned data is only advisable if binning is finer than 10 deg.
- % In this case, alpha is assumed to correspond
- % to bin centers.
- %
- % The Watson-Williams two-sample test assumes underlying von-Mises
- % distributrions. All groups are assumed to have a common concentration
- % parameter k.
- %
- % Input:
- % alpha angles in radians
- % idx indicates which population the respective angle in alpha
- % comes from, 1:s
- % [w number of incidences in case of binned angle data]
- %
- % Output:
- % pval p-value of the Watson-Williams multi-sample test. Discard H0 if
- % pval is small.
- % table cell array containg the ANOVA table
- %
- % PHB 3/19/2009
- %
- % References:
- % Biostatistical Analysis, J. H. Zar
- %
- % Circular Statistics Toolbox for Matlab
- % By Philipp Berens, 2009
- % [email hidden] - www.kyb.mpg.de/~berens/circStat.html
- [alpha, idx, w] = processInput(varargin{:});
- % number of groups
- u = unique(idx);
- s = length(u);
- % number of samples
- n = sum(w);
- % compute relevant quantitites
- pn = zeros(s,1); pr = pn;
- for t=1:s
- pidx = idx == u(t);
- pn(t) = sum(pidx.*w);
- pr(t) = circ_r(alpha(pidx),w(pidx));
- end
- r = circ_r(alpha,w);
- rw = sum(pn.*pr)/n;
- % make sure assumptions are satisfied
- checkAssumption(rw,mean(pn))
- % test statistic
- kk = circ_kappa(rw);
- beta = 1+3/(8*kk); % correction factor
- A = sum(pr.*pn) - r*n;
- B = n - sum(pr.*pn);
- F = beta * (n-s) * A / (s-1) / B;
- pval = 1 - fcdf(F,s-1,n-s);
- na = nargout;
- % if na < 2
- % printTable;
- % end
- prepareOutput;
- function printTable
- fprintf('\nANALYSIS OF VARIANCE TABLE (WATSON-WILLIAMS TEST)\n\n');
- fprintf('%s\t\t\t\t%s\t%s\t\t%s\t\t%s\t\t\t%s\n', ' ' ,'d.f.', 'SS', 'MS', 'F', 'P-Value');
- fprintf('--------------------------------------------------------------------\n');
- fprintf('%s\t\t\t%u\t\t%.2f\t%.2f\t%.2f\t\t%.4f\n', 'Columns', s-1 , A, A/(s-1), F, pval);
- fprintf('%s\t\t%u\t\t%.2f\t%.2f\n', 'Residual ', n-s, B, B/(n-s));
- fprintf('--------------------------------------------------------------------\n');
- fprintf('%s\t\t%u\t\t%.2f', 'Total ',n-1,A+B);
- fprintf('\n\n')
- end
- function prepareOutput
- if na > 1
- table = {'Source','d.f.','SS','MS','F','P-Value'; ...
- 'Columns', s-1 , A, A/(s-1), F, pval; ...
- 'Residual ', n-s, B, B/(n-s), [], []; ...
- 'Total',n-1,A+B,[],[],[]};
- end
- end
- end
- function checkAssumption(rw,n)
- if n > 10 && rw<.45
- warning('Test not applicable. Average resultant vector length < 0.45.') %#ok<WNTAG>
- elseif n > 6 && rw<.5
- warning('Test not applicable. Average number of samples per population < 11 and average resultant vector length < 0.5.') %#ok<WNTAG>
- elseif n >=5 && rw<.55
- warning('Test not applicable. Average number of samples per population < 7 and average resultant vector length < 0.55.') %#ok<WNTAG>
- elseif n < 5
- warning('Test not applicable. Average number of samples per population < 5.') %#ok<WNTAG>
- end
- end
- function [alpha, idx, w] = processInput(varargin)
- if nargin == 4
- alpha1 = varargin{1}(:);
- alpha2 = varargin{2}(:);
- w1 = varargin{3}(:);
- w2 = varargin{4}(:);
- alpha = [alpha1; alpha2];
- idx = [ones(size(alpha1)); ones(size(alpha2))];
- w = [w1; w2];
- elseif nargin==2 && sum(abs(round(varargin{2})-varargin{2}))>1e-5
- alpha1 = varargin{1}(:);
- alpha2 = varargin{2}(:);
- alpha = [alpha1; alpha2];
- idx = [ones(size(alpha1)); 2*ones(size(alpha2))];
- w = ones(size(alpha));
- elseif nargin==2
- alpha = varargin{1}(:);
- idx = varargin{2}(:);
- if ~(size(idx,1)==size(alpha,1))
- error('Input dimensions do not match.')
- end
- w = ones(size(alpha));
- elseif nargin==3
- alpha = varargin{1}(:);
- idx = varargin{2}(:);
- w = varargin{3}(:);
- if ~(size(idx,1)==size(alpha,1))
- error('Input dimensions do not match.')
- end
- if ~(size(w,1)==size(alpha,1))
- error('Input dimensions do not match.')
- end
- else
- error('Invalid use of circ_wwtest. Type help circ_wwtest.')
- end
- end
circ_wwtest.m at commit ad9ddd2, no license · at the source
Overview
- Leibniz Institute for Neurobiology, Brenneckestr. 6, 39118 Magdeburg, Germany
- Departments of Neuroscience and Psychology, University of California, Berkeley, 245 Warren Hall, Berkeley CA 94720, USA
- Helen Wills Neuroscience Institute, University of California, Berkeley, Berkeley CA 94720, USA
- Department of Psychiatry and Psychotherapy, Otto-von-Guericke University Magdeburg, Leipziger Str. 44, 39120 Magdeburg, Germany
Abstract
The traditional notion of a sustained visual spotlight of attention has been challenged by behavioral and neural evidence showing that attention fluctuates rhythmically in the theta band (3–8 Hz). In rodents, locomotion drives hippocampal theta oscillations that support cue sampling during navigation, enhancing sensory encoding and decision-making. This raises the question of whether physical activity (PA) similarly modulates theta-based attentional sampling in humans. Using magnetoencephalography (MEG), we found that discrimination accuracy (DA) increased following PA, accompanied by stronger theta-band modulation of both DA and reaction times (RTs) in trial-by-trial spectral analyses. Critically, PA elevated frontal theta power after cue presentation and shifted the coupling of visual high-frequency activity (HFA; 80–150 Hz) toward an encoding-sensitive theta phase. Moreover, target-evoked HFA exhibited stronger theta-range fluctuations after PA. Together, these findings demonstrate that short bouts of movement can tune the brain’s intrinsic theta-band sampling mechanism, thereby linking PA to enhanced visual attention.
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 6 matches between paragraphs and lines of code.
FreyaChe/visual_attention_script
ad9ddd29e2a918121b8ff7c9b407c7ecec65e7d4, 10 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
63 files
- attention_function/
CorrelationCI.m , MATLAB, 20 lines - attention_function/
FF_color.m , MATLAB, 25 lines - attention_function/
FF_cosfit.m , MATLAB, 89 lines - attention_function/
FF_scattervolum.m , MATLAB, 68 lines - attention_function/
GetOffset4OverlappingDat , MATLAB, 26 linesaPoints.m - attention_function/
STS.m , MATLAB, 11 lines - attention_function/
STS2.m , MATLAB, 11 lines - attention_function/
checkconfig.m , MATLAB, 774 lines - attention_function/
circ_kappa.m , MATLAB, 57 lines - attention_function/
circ_mean.m , MATLAB, 56 lines - attention_function/
circ_r.m , MATLAB, 62 lines - attention_function/
circ_std.m , MATLAB, 57 lines - attention_function/
circ_wwtest.m , MATLAB, 157 lines, 2 matches - attention_function/
compare_kappa.m , MATLAB, 65 lines - attention_function/
cosfit.m , MATLAB, 141 lines - attention_function/
cosfit_w1.m , MATLAB, 83 lines - attention_function/
dist.m , MATLAB, 27 lines - attention_function/
drawBackgroundPatch.m , MATLAB, 7 lines - attention_function/
fieldtripdefs.m , MATLAB, 110 lines - attention_function/
filetype.m , MATLAB, 1,035 lines - attention_function/
filetype_check_extension , MATLAB, 42 lines.m - attention_function/
filetype_check_header.m , MATLAB, 92 lines - attention_function/
filetype_check_uri.m , MATLAB, 222 lines - attention_function/
inside_contour.m , MATLAB, 48 lines - attention_function/
keyval.m , MATLAB, 62 lines - attention_function/
myaxis.m , MATLAB, 6 lines - attention_function/
mylinearFit.m , MATLAB, 18 lines - attention_function/
neuromagGetSensorAOIs.m , MATLAB, 12 lines - attention_function/
onezerostandard.m , MATLAB, 12 lines - attention_function/
permDist2CI.m , MATLAB, 23 lines - attention_function/
plotCorrelationCI.m , MATLAB, 7 lines - attention_function/
prepare_layout.m , MATLAB, 852 lines - attention_function/
shadedErrorBar.m , MATLAB, 177 lines - attention_function/
subtractmean.m , MATLAB, 49 lines - attention_function/
topoplot.m , MATLAB, 666 lines - attention_function/
topoprepare.m , MATLAB, 23 lines - attention_function/
toposhow.m , MATLAB, 11 lines - plot_fig1B_DA_match.m, MATLAB, 38 lines
- plot_fig1B_RT_RTvar_matc
h.m , MATLAB, 48 lines - plot_fig1C_DA.m, MATLAB, 30 lines
- plot_fig1C_RT_RTvar.m, MATLAB, 53 lines
- plot_fig1D_speed_regress
ion.m , MATLAB, 42 lines - plot_fig1E_PA_speed_beha
ve_linearplot.m , MATLAB, 42 lines - plot_fig2A_cosfit.m, MATLAB, 130 lines
- plot_fig2BC_DA_FFT.m, MATLAB, 44 lines
- plot_fig2BC_RT_FFT.m, MATLAB, 44 lines
- plot_fig2BC_RTvar_FFT.m, MATLAB, 44 lines
- plot_fig3ABleft_grandHFA
.m , MATLAB, 30 lines - plot_fig3B_HFALoco_Rest.
m , MATLAB, 54 lines - plot_fig4AB_theta_cueons
et.m , MATLAB, 69 lines - plot_fig4C_corr_cue_thet
a_behave.m , MATLAB, 60 lines, 2 matches - plot_fig5A_HFA_cosfit.m, MATLAB, 44 lines
- plot_fig5BC_HFA_FFT.m, MATLAB, 51 lines
- plot_fig5D_example_cosfi
t_HFA_behave.m , MATLAB, 53 lines - plot_fig5E_corr_cue_targ
et_inter_HFA_bahave.m , MATLAB, 77 lines - plot_supfig1_cue_uncue.m
, MATLAB, 170 lines - plot_supfig2_rest_speed_
behave_linearplot.m , MATLAB, 40 lines - plot_supfig4_difference_
PA_rest_FFT.m , MATLAB, 91 lines, 1 match - plot_supfig5left_NoiseHF
A_interv.m , MATLAB, 44 lines - plot_supfig5right_NoiseH
FA.m , MATLAB, 49 lines - plot_supfig6_theta_cueon
set.m , MATLAB, 169 lines - plot_supfig7_frontalThet
a_occHFA_coupling.m , MATLAB, 92 lines, 1 match - README.md, Text, 2 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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 62 scripts, each with its path and the digest of its content;
- 6 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
No dataset and no data link were found in the paper.
Data and code availability
All data needed to evaluate the conclusions in the paper are available in the GitHub repository: https://
All analysis code is available in the GitHub repository listed above https://
Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.
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 2, 28 September 2026
- Authors: added Stefan Dürschmid (0000-0001-6686-976X); removed Stefan Dürschmid
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 3 keywords, 1 funder, 74 references.
Cite
This paper
Che, X., Reichert, C., Knight, R. T., & Dürschmid, S. (2026). Physical activity enhances theta-periodicity of visual attentional allocation. iScience, 29(6), 116240. https://
BibTeX
@article{che2026physical
author = {Che, Xinyun and Reichert, Christoph and Knight, Robert T and Dürschmid, Stefan},
title = {{Physical activity enhances theta-periodicity of visual attentional allocation}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {6},
pages = {116240},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42291248},
pmcid = {PMC13264037}
}
RIS
TY - JOUR
AU - Che, Xinyun
AU - Reichert, Christoph
AU - Knight, Robert T
AU - Dürschmid, Stefan
TI - Physical activity enhances theta-periodicity of visual attentional allocation
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 6
SP - 116240
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Physical activity enhances theta-periodicity of visual attentional allocation",
"container-title": "iScience",
"author": [
{
"family": "Che",
"given": "Xinyun"
},
{
"family": "Reichert",
"given": "Christoph"
},
{
"family": "Knight",
"given": "Robert T"
},
{
"family": "Dürschmid",
"given": "Stefan"
}
],
"container-title-short":
"volume": "29",
"issue": "6",
"page": "116240",
"DOI": "10.1016/
"PMID": "42291248",
"PMCID": "PMC13264037",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
8
]
]
}
}
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/s42003-025-08618-3 [code]
- Physical activity simultaneously improves working memory and ripple-spindle couplingJournal: n/aIn common: CircStat, shadedErrorBar, EEGLAB, 1 other tool, cognitive, 4 references, 2 authors
- [2] doi:10.1038/s41467-022-33507-2 [code]
- Behaviourally modulated hippocampal theta oscillations in the ferret persist during both locomotion and immobility.Journal: Nature communicationsIn common: CircStat, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 12 references
- [3] doi:10.7554/elife.86548 [code]
- Theta- and gamma-band oscillatory uncoupling in the macaque hippocampus.Journal: eLifeIn common: CircStat, Curve Fitting Toolbox, EEGLAB, 2 other tools, 9 references
- [4] doi:10.1371/journal.pbio.3003664 [code]
- Frequency-specific attentional mechanisms phasically modulate the influence of distractors on task performance.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, cognitive, 11 references
- [5] doi:10.1038/s41467-021-27323-3 [code]
- Theta rhythmicity governs human behavior and hippocampal signals during memory-dependent tasks.Journal: Nature communicationsIn common: CircStat, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, cognitive, 9 references
- [6] doi:10.1038/s41598-026-50974-5 [code]
- Temporal kinetics of brain state effects on visual perception.Journal: Scientific reportsIn common: shadedErrorBar, Statistics and Machine Learning Toolbox, cognitive, 8 references
- [7] doi:10.1038/s42003-022-03861-4 [code]
- Distinct interacting cortical networks for stimulus-response and repetition-suppression.Journal: Communications biologyIn common: shadedErrorBar, cognitive, 5 references, author Stefan Dürschmid
- [8] doi:10.1038/s41467-026-69379-z [code]
- Rhythmic sampling of multiple decision alternatives in the human brain.Journal: Nature communicationsIn common: cognitive, 10 references
- [9] doi:10.7554/elife.106140
- Rhythmic sampling and competition of target and distractor in a motion detection task.Journal: eLifeIn common: cognitive, 9 references
- [10] doi:10.1038/s41467-025-62553-9 [code]
- Theta-phase locking of single neurons during human spatial memory.Journal: Nature communicationsIn common: CircStat, Statistics and Machine Learning Toolbox, cognitive, 8 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, 62 scripts, and 6 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:a47150cf23690fb7…
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.1016/j.isci.2026.116240)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116240.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116240
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116240"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116240.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.
