Flexibility of internal attention: divergent spatiotemporal profiles for feature and object cueing.
The 6 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Materials and methods › MEG data analysis › Source analysis ↔ code/f_make_stc_tf_sloreta_di.py, lines 35–102 · score 0.80 · inverse operator, TFR epoch, cps, depth, lambda2, loose
- [2] § Materials and methods › MEG data analysis › Source analysis ↔ code/f_make_stc_tf_sloreta_ob.py, lines 54–106 · score 0.80 · inverse operator, TFR epoch, cps, depth, lambda2, loose
- [3] § Materials and methods › MEG data analysis › Preprocessing ↔ code/a_maxfiltered.sh, lines 41–99 · score 0.73 · head movement, head position, Maxfilter, tools, Python, filtered
- [4] § Materials and methods › MEG data analysis › Source analysis ↔ code/f_make_stc_tf_sloreta_ob.py, lines 54–106 · score 0.66 · flat criteria, 2.5 s, Morlet, cropped, epochs, evoked
- [5] § Materials and methods › MEG data analysis › Source analysis ↔ code/f_make_stc_tf_sloreta_di.py, lines 35–102 · score 0.65 · flat criteria, 2.5 s, Morlet, cropped, epochs, evoked
- [6] § Materials and methods › MEG data analysis › Source analysis ↔ code/e_fwd.py, the whole file · a weak match · score 0.63 · single layer, ico, mindist, model, MNE, MRI
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 106 lines · 4.4 KB · no license · 2 matches
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- """
- Created on Thu Oct 31 11:50:44 2024
- @author: kpultsin
- """
- import mne
- import numpy as np
- from os.path import join
- freqmin=8
- freqmax=14
- freqs = np.arange(freqmin, freqmax+1, 1)
- n_cycles = 5
- sample_path = '/projects/mindeye/MRI'
- conditions = ['color', 'orient', 'random'] # List of conditions
- #conditions = ['color']
- # Loop through subjects 01 to 47
- for subject_num in range(1, 47):
- if subject_num in [1,2,3,17,32,31,39]:
- continue
- subject = f"{subject_num:02d}"
- subjects_dir = join(sample_path, subject)
- fname_fwd = join(subjects_dir, 'bem', f"{subject}-ob-fwd.fif")
- # Load raw data
- raw = mne.io.read_raw_fif(join(sample_path, 'wiica', f"{subject}_ica_di_raw.fif"), preload=True)
- #--------------Load events and set event IDs for the current condition
- events = mne.find_events(raw, shortest_event=1)
- if subject_num == 18:
- events[:, 2] = events[:, 2] - events[:, 1]
- true_event = []
- for i in events[:, 2]:
- if i == 8192:
- true_event.append(256)
- elif i == 4096:
- true_event.append(512)
- else:
- true_event.append(i)
- events[:, 2] = true_event
- if subject_num in {2, 4, 7, 11, 12}:
- events[:, 2] = events[:, 2] - 3072
- events = mne.merge_events(events, [14, 18], 14) # color events will be "14"
- events = mne.merge_events(events, [12, 16], 16) # orient events will be "16
- events = mne.merge_events(events, [11, 13, 15, 17], 11)
- reject_criteria = dict(
- mag=4000e-15, # 4000 fT
- grad=3000e-13) # 600 µV
- flat_criteria = dict(mag=1e-15, grad=1e-13)
- for condition in conditions:
- event_id = {condition: 14 if condition == 'color' else 16 if condition == 'orient' else 11}
- epochs = mne.Epochs(raw, events,
- event_id=event_id,
- tmin=-2, tmax=2.5, baseline=None,reject_tmax=0,
- flat=flat_criteria, reject=reject_criteria, preload=True)
- epochs = mne.Epochs.subtract_evoked(epochs,evoked=None)
- epochs_tfr = mne.time_frequency.tfr_morlet(epochs, freqs, n_cycles=n_cycles, return_itc=False,
- output="complex", average=False)
- epochs_tfr.crop(tmin=-0.5, tmax=2)
- fwd = mne.read_forward_solution(fname_fwd)
- noise_cov = mne.read_cov(f'/projects/mindeye/10_14_hz_sLoreta/{subject}_er-cov.fif', verbose=None)
- #noise_cov= mne.compute_covariance(epochs, keep_sample_mean=True, tmin=tmins[i], tmax=tmaxs[i], method='empirical', cv=3)
- inv = mne.minimum_norm.make_inverse_operator(raw.info, fwd, noise_cov, loose='auto', depth=0.8, fixed='auto', rank=None, use_cps=True, verbose=None)
- epochs_stcs= mne.minimum_norm.apply_inverse_tfr_epochs(epochs_tfr , inv, lambda2=1/3**2,method='sLORETA', prepared=False, method_params=None, use_cps=True, verbose=None)
- sum_array = [np.array([array.data for array in array_bl]) for array_bl in epochs_stcs]
- sum_freq = 10*np.log10(np.array(sum_array).sum(axis=0))
- tmins=[-0.5]
- tmaxs=[0]
- for i in range(1):
- epochs_tfr_bl = epochs_tfr.copy().crop(tmin=tmins[i], tmax=tmaxs[i], include_tmax=True)
- epochs_stcs_bl= mne.minimum_norm.apply_inverse_tfr_epochs(epochs_tfr_bl , inv, lambda2=1/3**2,method='sLORETA', prepared=False, method_params=None, use_cps=True, verbose=None)
- sum_array_bl = [np.array([array.data for array in array_bl]) for array_bl in epochs_stcs_bl]
- sum_freq_bl = np.array(sum_array_bl).sum(axis=0)
- sum_freq_bl = 10*np.log10(sum_freq_bl).mean(axis=(0,2))
- stc_with_bl= sum_freq - sum_freq_bl[np.newaxis,:,np.newaxis]
- temp = epochs_stcs[0][0]
- temp.data = np.mean(stc_with_bl, axis=0)
- # Save the results
- save_dir ='/projects/mindeye/8_14_hz_sLoreta/'
- output_fname = join(save_dir, f'{subject}-di-{condition}-{freqmin}-{freqmax}hz_sLoreta_base{tmins[i]}-{tmaxs[i]}_noier_concorr')
- temp.save(output_fname, overwrite=True)
- # Restore the default streams
- #sys.stdout = sys.__stdout__
- #sys.stderr = sys.__stderr__
f_make_stc_tf_sloreta_di.py, no license · at the source
Overview
- Department of Psychology, University of Jyväskylä, Ruusupuisto (RUU Building), Alvar Aallon katu 9, FI-40014 Jyväskylä, Finland
- Centre for Interdisciplinary Brain Research, University of Jyväskylä, Kärki Building, Mattilanniemi 6, FI-40014 Jyväskylä, Finland
- School of Education, Anyang Normal University, No. 436 Xian'ge Avenue, Anyang, Henan Province 455000, China
Abstract
Internal attention efficiently prioritizes information in working memory (WM), yet it remains unclear whether it reflects a unified, domain-general mechanism, or a flexible set of operations tailored to the format of selected information. Using magnetoencephalography (MEG), we characterized the spatiotemporal alpha-band dynamics underlying feature-based (color, orientation) and object-based (left, right) retro-cues that direct internal attention within WM. Behaviorally, both cue types improved performance relative to neutral conditions, with object-based cues yielding a modest advantage. Neurally, both formats elicited robust modulations of induced alpha-band (8 to 14 Hz) activity distributed across visual, frontoparietal control, and memory-related networks. These effects followed a common temporal progression from early weak modulation to mid-latency reconfiguration and sustained late activity. However, object-based cueing produced more sustained and spatially widespread alpha suppression than feature-based cueing, indicating format-dependent differences in the dynamics of internal selection. Although neural effects closely tracked behavioral benefits at the condition level, no reliable brain–behavior correlations were observed across individuals. Together, these findings suggest that internal attention operates through a shared large-scale control architecture while flexibly adapting its temporal dynamics to representational format, with alpha-band activity playing a central role in the prioritization of WM content.
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.
OSF vxpsb
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
16 files
- code/
a_maxfiltered.sh , Shell, 99 lines, 1 match - code/
b_resample_filter_change , Python, 42 lineschannel.py - code/
c_ica_di.py , Python, 62 lines - code/
c_ica_ob.py , Python, 60 lines - code/
d_tfrdi_averagetfr.py , Python, 167 lines - code/
d_tfrob_averagetfr.py , Python, 163 lines - code/
e_fwd.py , Python, 48 lines, 1 match - code/
e_maxfilter_emty_room.py , Python, 48 lines - code/
f_make_stc_tf_sloreta_di , Python, 106 lines, 2 matches.py - code/
f_make_stc_tf_sloreta_ob , Python, 110 lines, 2 matches.py - code/
g_save_stc_withlabel.py , Python, 105 lines - code/
h_roi_identify.py , Python, 222 lines - code/
i_cluster_dimension_vs_o , Python, 358 linesbject.py - code/
i_cluster_pair_test_bene , Python, 333 linesfit.py - code/
i_cluster_pair_test_cue. , Python, 326 linespy - code/
j_behavira-neural-correl , Python, 514 linesation.py
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;
- 16 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 availability
The datasets generated 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, 5 authors, 5 keywords, 14 MeSH terms, 3 funders, 63 references.
Cite
This paper
Lin, X., Pultsina, K., Monto, S., Ye, C., & Parviainen, T. (2026). Flexibility of internal attention: divergent spatiotemporal profiles for feature and object cueing. Cerebral cortex (New York, N.Y. : 1991), 36(9), bhag110. https://
BibTeX
@article{lin2026flexibil
author = {Lin, Xiaoshu and Pultsina, Kristina and Monto, Simo and Ye, Chaoxiong and Parviainen, Tiina},
title = {{Flexibility of internal attention: divergent spatiotemporal profiles for feature and object cueing}},
journal = {Cerebral cortex (New York, N.Y. : 1991)},
year = {2026},
month = sep,
volume = {36},
number = {9},
pages = {bhag110},
publisher = {Oxford University Press},
issn = {1047-3211},
doi = {10.1093/
url = {https://
pmid = {42752845},
pmcid = {PMC13584068}
}
RIS
TY - JOUR
AU - Lin, Xiaoshu
AU - Pultsina, Kristina
AU - Monto, Simo
AU - Ye, Chaoxiong
AU - Parviainen, Tiina
TI - Flexibility of internal attention: divergent spatiotemporal profiles for feature and object cueing
T2 - Cerebral cortex (New York, N.Y. : 1991)
J2 - Cereb Cortex
PY - 2026
DA - 2026/
VL - 36
IS - 9
SP - bhag110
SN - 1047-3211
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Flexibility of internal attention: divergent spatiotemporal profiles for feature and object cueing",
"container-title": "Cerebral cortex (New York, N.Y. : 1991)",
"author": [
{
"family": "Lin",
"given": "Xiaoshu"
},
{
"family": "Pultsina",
"given": "Kristina"
},
{
"family": "Monto",
"given": "Simo"
},
{
"family": "Ye",
"given": "Chaoxiong"
},
{
"family": "Parviainen",
"given": "Tiina"
}
],
"container-title-short":
"volume": "36",
"issue": "9",
"page": "bhag110",
"DOI": "10.1093/
"PMID": "42752845",
"PMCID": "PMC13584068",
"ISSN": "1047-3211",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
1
]
]
}
}
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.1093/cercor/bhag075 [code]
- Cortical dynamics of icon perception: effects of concreteness and attractiveness.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: MNE-Python, pandas, SciPy, 2 other tools, MEG, cognitive, 2 references, author Tiina Parviainen
- [2] doi:10.1038/s42003-026-10071-9 [code]
- Alpha phase coding supports feature binding during working memory maintenance.Journal: Communications biologyIn common: SciPy, Matplotlib, NumPy, MEG, cognitive, 6 references
- [3] doi:10.1523/eneuro.0076-26.2026 [code]
- Exogenously Driven Neural Reactivation of Spatially Matching Visual Working-Memory Contents.Journal: eNeuroIn common: pandas, Matplotlib, NumPy, cognitive, 5 references
- [4] doi:10.1016/j.isci.2026.117285 [code]
- Working memory demands modulate memory brain state engagement.Journal: iScienceIn common: MNE-Python, pandas, SciPy, 2 other tools, cognitive, 3 references
- [5] doi:10.1093/nc/niag029 [code]
- A data-driven approach to identifying and evaluating connectivity-based neural correlates of conscious visual perception.Journal: Neuroscience of consciousnessIn common: MNE-Python, pandas, SciPy, 2 other tools, MEG, cognitive, 3 references
- [6] doi:10.1126/sciadv.aea3919 [code]
- Hierarchical brain dynamics supporting visual perceptual transitions.Journal: Science advancesIn common: MNE-Python, pandas, SciPy, 2 other tools, MEG, cognitive, 2 references
- [7] doi:10.7554/elife.108023 [code]
- Challenges in replay detection by TDLM in post-encoding resting state.Journal: eLifeIn common: MNE-Python, pandas, SciPy, 2 other tools, MEG, 2 references
- [8] doi:10.1073/pnas.2536563123 [code]
- Temporally structured motor and auditory representations in covert syllable production.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: MNE-Python, pandas, SciPy, 2 other tools, MEG, cognitive, 1 reference
- [9] doi:10.1111/psyp.70301
- Oscillatory Markers of Interoceptive Attention: Beta Suppression as a Neural Signature of Heartbeat Processing.Journal: PsychophysiologyIn common: MEG, cognitive, 1 reference, author Tiina Parviainen
- [10] doi:10.1167/jov.26.8.4 [code]
- The neural processes of illusory occlusion in object recognition.Journal: Journal of visionIn common: MNE-Python, pandas, SciPy, 2 other tools, cognitive, 2 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, 16 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:aa1f7337997d5e98…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
