OSCR

Real-time fMRI-triggered experience sampling: A proof-of-concept study.

Code ↔ Paper

5 matches 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.

The 5 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Results › Exploratory validation of real-time BOLD signal triggers ↔ Code/Figure 3/offlineonlineplots.m, lines 680–758 · score 0.68 · Shaded error bars, PMC activity, PMC Trigger Events, trial onset, BOLD activity, SEM
  2. [2] § Results › Description of final dataset ↔ Code/Figure 2/exclusionbarplot.m, lines 33–61 · score 0.62 · Opposite ROI triggered, Incomplete rating, Head Motion, thoughts, Figure 2
  3. [3] § Results › Exploratory validation of real-time BOLD signal triggers ↔ Code/Figure 3/offlineonlineplots.m, lines 320–397 · score 0.61 · offline PMC, trial onset, BOLD activity, trigger events, alignment, validation
  4. [4] § Data Analyses › Power analysis ↔ Code/Figure 4 + Pre-registered Hypothesis Testing/rtfMRI_HypothesisTesting.R, lines 44–122 · score 0.59 · fitted model, lme4, CIs, coefficient, slope
  5. [5] § Methods › Experimental tasks › GradCPT ↔ gradCPT_mk_Mt_EV.m, the whole file · a weak match · score 0.56 · button presses, commission, city, mountains, stimuli, event

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

MATLAB · 758 lines · 33 KB · no license · 2 matches

This file is not shown here: its repository has no license, so its authors keep all their rights to it. Your browser cannot show it from its source either: OSF does not let the page of another site read its files.

It can be read at the source: Code/Figure 3/offlineonlineplots.m.

Overview

Authors: Tiara Bounyarith1, David Braun1, Aaron Kucyi1
  1. Department of Psychological & Brain Sciences, Drexel University, Philadelphia, PA, United States
Institutions: Drexel University (United States)
Journal: Imaging neuroscience (Cambridge, Mass.), volume 4, article IMAG.a.1268
Dates: received 8 May 2026; accepted 9 May 2026; published online 8 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/imag.a.1268 · PMID 42272744 · PMCID PMC13248897 · OpenAlex W7161825659
Open access: diamond, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism)
Methods: Statistics, fMRI & imaging, Smoothing, state filtering, decompositions
Keywords: real-time fMRI, experience sampling, spontaneous thought, mental health, default mode network, salience network
Topic: Mind wandering and attention (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institute of Mental Health (R21 MH129630); National Science Foundation Graduate Research Fellowship Program
Citations: not cited yet (Europe PMC); 93 references in the paper

Abstract

Much of a typical individual’s mental life is characterized by spontaneous thoughts that occur independently of external stimuli. In prior studies, ongoing mental experiences and their neural correlates have been captured using thought probes presented at random intervals during functional magnetic resonance imaging (fMRI). However, this approach results in temporally imprecise estimates of brain activity relative to the arising of mental experience. In this preregistered, proof-of-concept study, we aimed to improve temporal precision using a novel method termed real-time fMRI-triggered experience sampling (rt-fMRI-ES). We analyzed blood-oxygenation level-dependent signals in real time during a wakeful resting state (n = 60) to trigger thought probes from spontaneous activations within two regions: the dorsal anterior insular cortex (daIC; a key region within salience network) and posteromedial cortex (PMC; a key region within default mode network). We tested two preregistered hypotheses: (H1) Ratings of arousal time-locked to daIC-activation trials are higher than ratings time-locked to non-daIC-activation trials; (H2) Ratings of external attention time locked to PMC-activation trials are lower than ratings time-locked to non-PMC-activation trials. After applying preregistered exclusion criteria, 42 participants (1243 trials) and 49 participants (1429 trials) were included in H1 and H2 analyses, respectively. We did not find evidence in support of H1, but we did find evidence in support of H2, as external-attention ratings were significantly lower for trials triggered by PMC activation than other trial types. Taken together, we successfully developed and validated the rt-fMRI-ES method, offering a novel technique to efficiently capture spontaneous thoughts based on ongoing neural activity. Preregistered Stage 1 Recommendation: https://osf.io/sd4hu (Date of in-principle acceptance: July 24, 2024).

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

Repositories

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

DynamicBrainMind/rtfMRI_prep

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 0cbac2e31b941c916ef587cabd015d5a101ccfa0, 18 June 2025
Languages: Python (3), MATLAB (1)
Size: 1,431 files, 4 scripts
Software Heritage: not archived
Found in: the text, “Functional localizer analysis (rtfMRI-prep)”
Holds: README, tests
Not found: license file, CITATION.cff, environment file, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 files, not copied: shown from their source

OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 0cbac2e, when its fingerprint is the one OSCR verified. How this works.

OSF as2q9

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (3), R (2)
Size: 15 files, 5 scripts
Software Heritage: not checked
Found in: “Data and Code Availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: emmeans (1 file), ggplot2 (1 file), lme4 (1 file), lmerTest (1 file), patchwork (1 file), shadedErrorBar (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
5 files, to read at the source

This repository has no license: its authors keep all rights. Read it at the source.

At the source: osf.io/as2q9/overview

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 9 scripts, each with its path and the digest of its content;
  • 5 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

In accordance with requirements set by the project sponsor, all study raw data will be available through the online National Institutes of Mental Health Data Archive (NDA), DOI: https://dx.doi.org/10.15154/5aka-y257. Code and data used for analysis and visualization are available on OSF, https://osf.io/as2q9/overview.

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

  • Funding: added National Institute of Mental Health: R21 MH129630; National Science Foundation Graduate Research Fellowship Program

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 3 authors, 6 keywords, 91 references.

Cite

This paper

Bounyarith, T., Braun, D., & Kucyi, A. (2026). Real-time fMRI-triggered experience sampling: A proof-of-concept study. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1268. https://doi.org/10.1162/imag.a.1268

BibTeX

@article{bounyarith2026real,
author = {Bounyarith, Tiara and Braun, David and Kucyi, Aaron},
title = {{Real-time fMRI-triggered experience sampling: A proof-of-concept study}},
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = jun,
volume = {4},
pages = {IMAG.a.1268},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/imag.a.1268},
url = {https://doi.org/10.1162/imag.a.1268},
pmid = {42272744},
pmcid = {PMC13248897}
}

RIS

TY - JOUR
AU - Bounyarith, Tiara
AU - Braun, David
AU - Kucyi, Aaron
TI - Real-time fMRI-triggered experience sampling: A proof-of-concept study
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/06/08
VL - 4
SP - IMAG.a.1268
SN - 2837-6056
PB - MIT Press
DO - 10.1162/imag.a.1268
UR - https://doi.org/10.1162/imag.a.1268
LA - en
ER -

CSL-JSON

{
"id": "10.1162/imag.a.1268",
"type": "article-journal",
"title": "Real-time fMRI-triggered experience sampling: A proof-of-concept study",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Bounyarith",
"given": "Tiara"
},
{
"family": "Braun",
"given": "David"
},
{
"family": "Kucyi",
"given": "Aaron"
}
],
"container-title-short": "Imaging Neurosci (Camb)",
"volume": "4",
"page": "IMAG.a.1268",
"DOI": "10.1162/imag.a.1268",
"PMID": "42272744",
"PMCID": "PMC13248897",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/imag.a.1268",
"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/s41467-026-74331-2 [code]
Trial-by-trial fMRI-neurofeedback dissociates fusiform and occipital contributions to face detection and recognition.
Journal: Nature communications
In common: shadedErrorBar, emmeans, lmerTest, 6 other tools, fMRI, 3 references
[2] doi:10.1002/jcv2.70135 [code]
Alterations in resting-state functional connectivity relate to psychopathology trajectories during emerging adolescence.
Journal: JCPP advances
In common: emmeans, lmerTest, lme4, 3 other tools, fMRI, 3 references
[3] doi:10.1038/s41467-026-74953-6 [code]
In-scanner thoughts contribute to resting-state functional connectivity.
Journal: Nature communications
In common: NumPy, fMRI, 7 references
[4] doi:10.1073/pnas.2603114123 [code]
The human hippocampus can pattern separate memories by meaning.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: emmeans, lmerTest, lme4, 4 other tools, 3 references
[5] doi:10.1038/s41467-026-73865-9 [code]
Histamine shapes the neurocomputational dynamics of human learning.
Journal: Nature communications
In common: emmeans, lmerTest, lme4, 3 other tools, 4 references
[6] doi:10.1371/journal.pone.0353990 [code]
Positive mood enhances accessibility of unrelated concepts in the first language but not in the foreign language.
Journal: PloS one
In common: emmeans, lmerTest, lme4, 3 other tools, 3 references
[7] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: emmeans, lmerTest, lme4, 4 other tools, 2 references
[8] doi:10.1162/imag.a.105 [code]
Right posterior theta reflects human parahippocampal phase resetting by salient cues during goal-directed navigation
Journal: —
In common: lmerTest, lme4, Statistics and Machine Learning Toolbox, 3 other tools, fMRI, 3 references
[9] doi:10.3758/s13415-026-01442-0 [code]
Empathy for pain persists across live two-way video interactions and viewing of prerecorded videos.
Journal: Cognitive, affective & behavioral neuroscience
In common: lmerTest, lme4, ggplot2, 1 other tool, 5 references
[10] doi:10.1038/s41598-026-51531-w [code]
Multimodal age-dependent diffusion-MRI analysis of the neocortex in a rat model of cortical dysplasia.
Journal: Scientific reports
In common: shadedErrorBar, emmeans, lmerTest, 5 other tools

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.

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: 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.