OSCR

Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning.

Code ↔ Paper

1 match 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 1 match
  1. [1] § Methods › fNIRS data analysis ↔ fnirs_hyper_MathHyper.m, lines 2–33 · score 0.68 · optical density, DPFs, intensity, artifacts, motion, filtering

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 · 39 lines · 1.5 KB · no license · 1 match

  1. function [Homer_data] = fnirs_hyper_IBC(Homer_data, age, LP, HP,NN,SCI,srt_ch,lrt_ch)
  2. Homer_data.step_re=f_de_step(Homer_data.d);
  3. % convert intensity (raw files) to optical density
  4. Homer_data.heart = hmrBandpassFilt(Homer_data.step_re, Homer_data.t, LP, HP);
  5. Homer_data.OD = hmrIntensity2OD(Homer_data.step_re);
  6. % % % Homer_data.wav = hmrMotionCorrectWavelet(Homer_data.OD,Homer_data.SD,0.7);
  7. [DPF_lam]=esti_DPF_age(Homer_data.SD.Lambda, age);
  8. Homer_data.conc = hmrOD2Conc(Homer_data.OD, Homer_data.SD, DPF_lam);
  9. % % % Homer_data.concfilt = hmrBandpassFiltConc(Homer_data.conc, Homer_data.t, 0.01, 2.5);
  10. Homer_data.PostNorm_v2 = PCA_SS_Hbdata(Homer_data,'conc',NN,SCI,srt_ch,lrt_ch);
  11. % % fs=1/(Homer_data.t(2)-Homer_data.t(1));
  12. %%%% use MARA for artifact removal (Scholkmann 2010); code from SPM12-NIRS;
  13. %%%% parameters from Nguyen 2021
  14. % % for mm=1:size(Homer_data.OD,2)
  15. % % Homer_data.MARA(:,mm) = spm_fnirs_MARA(Homer_data.OD(:,mm),fs,3,1,5);
  16. % % end
  17. % Homer_data.conc = hmrOD2Conc(Homer_data.wav, Homer_data.SD, [7.3 6.4]);
  18. % Homer_data.concMara = hmrOD2Conc(Homer_data.MARA, Homer_data.SD, [DPF_lam1 DPF_lam2]);
  19. % % Homer_data.conc = hmrOD2Conc(Homer_data.OD, Homer_data.SD, [DPF_lam1 DPF_lam2]);
  20. % band pass filter the concentration (?). Filters oxy, deoxy and then adds
  21. % % Homer_data.concMarafilt = hmrBandpassFiltConc(Homer_data.concMara, Homer_data.t, 0.01, 0.5);
  22. % % %
  23. % % % %%% apply the anticorrelation method
  24. % % % Homer_data.concfiltCBSI = hmrMotionCorrectCbsi(Homer_data.concfilt, Homer_data.SD);

fnirs_hyper_MathHyper.m, no license · at the source

Overview

Authors: Xin Zhou1, Florrie F. Y. Ng1,2, Patrick C. M. Wong1,3
  1. Brain and Mind Institute, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR China
  2. Department of Educational Psychology, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR, China
  3. Department of Linguistics and Modern Languages, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR, China
Institutions: Chinese University of Hong Kong (Hong Kong SAR China)
Journal: Scientific reports, volume 16, issue 1, article 19400
Dates: received 14 October 2025; accepted 21 April 2026; published online 27 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-50540-z · PMID 42045603 · PMCID PMC13287691 · OpenAlex W4415208896
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), fNIRS (modality), human (organism), methods / tools (subfield)
Methods: Statistics, Connectivity, Preprocessing
Keywords: fNIRS hyperscanning, Inter-brain connection, Frequency band of interest, Neuroscience, Psychology
MeSH: Brain*, Functional Neuroimaging*, Brain Mapping, Humans, Social Interaction, Spectroscopy, Near-Infrared (* major topic)
Topic: Optical Imaging and Spectroscopy Techniques (Radiology, Nuclear Medicine and Imaging, Medicine), according to OpenAlex
Funding: Research Grants Council of Hong Kong (C4001-22EF)
Citations: not cited yet (Europe PMC); 95 references in the paper

Abstract

Neuroimaging hyperscanning—the monitoring of brain activity of two or more persons simultaneously—has emerged as a popular tool to uncover the neural mechanisms of social interactions. The use of functional near-infrared spectroscopy (fNIRS)—a non-invasive, child-friendly technique tolerant of motion artifacts—has significantly advanced the research of social interactions. Despite its popularity, the field has yet to agree on best practices for quantifying inter-brain connections (IBC) during social interactions, including the frequency band of interest (FOI) for signal analysis. Various choices of FOIs, along with subject-level physiological differences or experimental design, may have contributed to inconsistent findings across prior studies. In this study, we reviewed various methods used and their corresponding FOI results in previous fNIRS hyperscanning research focused on the topics of cooperation. Additionally, we propose a new methodology to quantify FOI that aims to point to the origin of synchronization between brains. We tested the proposed method on three independent fNIRS hyperscanning datasets. The three datasets involved three different populations and three types of social interactions commonly studied in the literature. We examined the effect of sample sizes and data exclusion rates on the calculation of FOIs and statistical results. We offer a method for testing and adoption within the fNIRS community, aimed at eliminating arbitrary FOI selections and potentially enhancing the reproducibility of results in future fNIRS hyperscanning research.

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-50540-z.

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 1 match between paragraphs and lines of code.

OSF r4s73

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Languages: MATLAB (5)
Size: 5 files, 5 scripts
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
5 files

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;
  • 5 scripts, each with its path and the digest of its content;
  • 1 match 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

MATLAB code used for the data analyses is stored on Open Science Framework and available for peer review through the following link https://osf.io/r4s73/?view_only=6c14eb3ca218417489e939bbd45f7197. The summary (de-identified) data supporting the conclusions of this article will be made available by the authors, without undue reservation.

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

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 6 MeSH terms, 1 funder, 93 references.

Cite

This paper

Zhou, X., Ng, F. F. Y., & Wong, P. C. M. (2026). Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning. Scientific reports, 16(1), 19400. https://doi.org/10.1038/s41598-026-50540-z

BibTeX

@article{zhou2026addressing,
author = {Zhou, Xin and Ng, Florrie F. Y. and Wong, Patrick C. M.},
title = {{Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {19400},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-50540-z},
url = {https://doi.org/10.1038/s41598-026-50540-z},
pmid = {42045603},
pmcid = {PMC13287691}
}

RIS

TY - JOUR
AU - Zhou, Xin
AU - Ng, Florrie F. Y.
AU - Wong, Patrick C. M.
TI - Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/04/27
VL - 16
IS - 1
SP - 19400
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-50540-z
UR - https://doi.org/10.1038/s41598-026-50540-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-50540-z",
"type": "article-journal",
"title": "Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning",
"container-title": "Scientific reports",
"author": [
{
"family": "Zhou",
"given": "Xin"
},
{
"family": "Ng",
"given": "Florrie F. Y."
},
{
"family": "Wong",
"given": "Patrick C. M."
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "19400",
"DOI": "10.1038/s41598-026-50540-z",
"PMID": "42045603",
"PMCID": "PMC13287691",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-50540-z",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
27
]
]
}
}

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.3758/s13415-026-01455-9
Inter-brain coupling tracks emotional co-regulation.
Journal: Cognitive, affective & behavioral neuroscience
In common: fNIRS, 9 references
[2] doi:10.3758/s13428-026-03060-7 [code]
Synchronizing brains and hearts: A practical guide for caregiver-child fNIRS-ECG multimodal hyperscanning.
Journal: Behavior research methods
In common: fNIRS, methods / tools, 6 references
[3] doi:10.1371/journal.pbio.3003899 [code]
Social interactions between people of same and different generations shape longitudinal changes in interpersonal neural synchrony, loneliness, and social connection.
Journal: PLoS biology
In common: Statistics and Machine Learning Toolbox, 6 references
[4] doi:10.1364/boe.604286
Computational validation of optical adaptive depth steering for continuous-wave fNIRS.
Journal: Biomedical optics express
In common: fNIRS, methods / tools, 5 references
[5] doi:10.1038/s44271-026-00468-x [code]
Inter-brain processes during Live and Represented social moments are inter-related and shaped by behavioral synchrony.
Journal: Communications psychology
In common: 5 references
[6] doi:10.1162/imag.a.1208 [code]
Brain network analysis in Alzheimer's disease and mild cognitive impairment using high-density diffuse optical tomography.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Statistics and Machine Learning Toolbox, fNIRS, 4 references
[7] doi:10.1117/1.nph.13.3.035009
Single-subject detection of speech network activation using functional near-infrared spectroscopy.
Journal: Neurophotonics
In common: fNIRS, 4 references
[8] doi:10.1111/psyp.70286 [code]
Partially Different Mechanisms of Social and Nonsocial Attention: Evidence From Changes in Cueing Effects and Underlying Frontal Cortex Processing Over Time.
Journal: Psychophysiology
In common: Statistics and Machine Learning Toolbox, fNIRS, 3 references
[9] doi:10.1016/j.dcn.2026.101782 [code]
Do babies perceive cries as speech?
Journal: Developmental cognitive neuroscience
In common: fNIRS, 3 references
[10] doi:10.1117/1.nph.13.s3.s32602 [code]
Cedalion tutorial: a Python-based framework for comprehensive analysis of multimodal fNIRS and DOT from the lab to the everyday world.
Journal: Neurophotonics
In common: fNIRS, methods / tools, 3 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.

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.