Addressing arbitrary choices of frequency band of interest in fNIRS hyperscanning.
One block of code here has 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 1 match
- [1] § Methods › fNIRS data analysis ↔ fnirs_hyper_MathHyper.m, lines 2 to 33 · score 0.68 · optical density, DPFs, intensity, artifacts, motion, filtering · block
oscr:b:Y7PT238KJM1GT-H· 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 · 39 lines · 1.5 KB · no license · 1 match
- function [Homer_data] = fnirs_hyper_IBC(Homer_data, age, LP, HP,NN,SCI,srt_ch,lrt_ch)
- Homer_data.step_re=f_de_step(Homer_data.d);
- % convert intensity (raw files) to optical density
- Homer_data.heart = hmrBandpassFilt(Homer_data.step_re, Homer_data.t, LP, HP);
- Homer_data.OD = hmrIntensity2OD(Homer_data.step_re);
- % % % Homer_data.wav = hmrMotionCorrectWavelet(Homer_data.OD,Homer_data.SD,0.7);
- [DPF_lam]=esti_DPF_age(Homer_data.SD.Lambda, age);
- Homer_data.conc = hmrOD2Conc(Homer_data.OD, Homer_data.SD, DPF_lam);
- % % % Homer_data.concfilt = hmrBandpassFiltConc(Homer_data.conc, Homer_data.t, 0.01, 2.5);
- Homer_data.PostNorm_v2 = PCA_SS_Hbdata(Homer_data,'conc',NN,SCI,srt_ch,lrt_ch);
- % % fs=1/(Homer_data.t(2)-Homer_data.t(1));
- %%%% use MARA for artifact removal (Scholkmann 2010); code from SPM12-NIRS;
- %%%% parameters from Nguyen 2021
- % % for mm=1:size(Homer_data.OD,2)
- % % Homer_data.MARA(:,mm) = spm_fnirs_MARA(Homer_data.OD(:,mm),fs,3,1,5);
- % % end
- % Homer_data.conc = hmrOD2Conc(Homer_data.wav, Homer_data.SD, [7.3 6.4]);
- % Homer_data.concMara = hmrOD2Conc(Homer_data.MARA, Homer_data.SD, [DPF_lam1 DPF_lam2]);
- % % Homer_data.conc = hmrOD2Conc(Homer_data.OD, Homer_data.SD, [DPF_lam1 DPF_lam2]);
- % band pass filter the concentration (?). Filters oxy, deoxy and then adds
- % % Homer_data.concMarafilt = hmrBandpassFiltConc(Homer_data.concMara, Homer_data.t, 0.01, 0.5);
- % % %
- % % % %%% apply the anticorrelation method
- % % % Homer_data.concfiltCBSI = hmrMotionCorrectCbsi(Homer_data.concfilt, Homer_data.SD);
fnirs_hyper_MathHyper.m, no license · at the source
Overview
- Brain and Mind Institute, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR China
- Department of Educational Psychology, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR, China
- Department of Linguistics and Modern Languages, The Chinese University of Hong Kong,Sha Tin, Hong Kong SAR, China
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/
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
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
5 files
- Identify_FOI_MathHyper.m
, MATLAB, 177 lines - InterCoh_PostSR_MATH.m, MATLAB, 46 lines
- MathHyper_lrt_srt_ttest.
m , MATLAB, 441 lines - fnirs_hyper_MathHyper.m, MATLAB, 39 lines, 1 match
- mainCode.m, MATLAB, 228 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;
- 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://
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://
BibTeX
@article{zhou2026address
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/
url = {https://
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/
VL - 16
IS - 1
SP - 19400
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "16",
"issue": "1",
"page": "19400",
"DOI": "10.1038/
"PMID": "42045603",
"PMCID": "PMC13287691",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"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.1162/imag_a_00509 [code]
- Analytical pipeline optimisation in developmental fNIRS hyperscanning data: Neural coherence between 4- to 6-year old children collaborating with their mothers.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Statistics and Machine Learning Toolbox, fNIRS, 16 references
- [2] doi:10.1093/scan/nsaf060 [code]
- Distinct fNIRS Inter-Brain Coupling Patterns for Cooperation versus Competition in a Tennis Game.Journal: Social cognitive and affective neuroscienceIn common: Statistics and Machine Learning Toolbox, fNIRS, 14 references
- [3] doi:10.1162/imag.a.43 [code]
- Investigating short windows of interbrain synchrony: A step toward fNIRS-based hyperfeedback.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Statistics and Machine Learning Toolbox, fNIRS, 12 references
- [4] doi:10.1093/scan/nsag052 [code]
- Hyperbaric oxygen intervention enhances cooperative gains in high-trust people at high altitude: the role of medial prefrontal interbrain synchrony.Journal: Social cognitive and affective neuroscienceIn common: fNIRS, 11 references
- [5] doi:10.3389/fnins.2024.1286130 [code]
- Interpersonal neural synchrony and mental disorders: unlocking potential pathways for clinical interventions.Journal: Frontiers in neuroscienceIn common: 11 references
- [6] doi:10.1038/s42003-024-06614-7
- Brainstorming: Interbrain coupling in groups forms the basis of group creativity.Journal: Communications biologyIn common: 11 references
- [7] doi:10.1093/scan/nsae003 [code]
- How self-disclosure of negative experiences shapes prosociality?Journal: Social cognitive and affective neuroscienceIn common: fNIRS, 9 references
- [8] doi:10.3758/s13415-026-01455-9
- Inter-brain coupling tracks emotional co-regulation.Journal: Cognitive, affective & behavioral neuroscienceIn common: fNIRS, 9 references
- [9] doi:10.1038/s42003-025-08445-6
- Bidirectional information flow in cooperative learning reflects emergent leadership.Journal: Communications biologyIn common: 9 references
- [10] doi:10.1038/s41539-025-00303-8
- The influence of task and interpersonal interdependence on cooperative behavior and its neural mechanisms.Journal: NPJ science of learningIn common: 9 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, 5 scripts, and 1 match 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:41fb7665c1097c29…
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/s41598-026-50540-z)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-50540-z.svg
:target: https://openscicode.org/badge/doi/10.1038/s41598-026-50540-z
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-50540-z"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-50540-z.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
