bioRxivNeurosciencePreprint
From Channel-Pair Connectivity to Brain Networks: An Open Graph Theoretical Pipeline for fNIRS Hyperscanning
Yael Hodaya Moshe, Mini SharmaiD, Anat DahaniD, Hila Zahava GvirtsiD
Abstract
Despite the growing use of functional near-infrared spectroscopy (fNIRS) hyperscanning to record brain activity simultaneously from interacting individuals in naturalistic settings, most analyses quantify functional connectivity separately for each channel pair. The resulting collection of pairwise estimates is difficult to integrate into a network-level characterization of intra- and inter-brain organization. Here, we present an open, configuration-driven Python toolkit that transforms preprocessed fNIRS hyperscanning time series into functional connectivity graphs. The toolkit constructs a bipartite inter-brain network for each dyad and separate intra-brain networks for each participant, computes node- and graph-level measures, and exports adjacency matrices, edge lists, analysis-ready summary tables, reproducibility metadata, and standardized visualizations. Dataset-specific parameters, including directory structure, participant naming, channel selection, epoch extraction, and edge-retention criteria, are defined in a human-readable YAML configuration file, enabling the same workflow to accommodate differently organized datasets without changes to the source code. We illustrate the pipeline using a representative recording from a mother-infant fNIRS hyperscanning dataset and present the resulting network outputs. The toolkit provides a reproducible framework for moving from pairwise functional connectivity estimates to network-level analyses of dyadic and individual brain organization.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Resting State Brain Connectivity analysis from EEG and FNIRS signals
Rosmary Blanco, Cemal Koba, Alessandro Crimi·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2023
- Light on Broken Networks: Resting-State fNIRS as a Tool for Connectivity Mapping
Foivos Kotsogiannis, Michael Lührs, … Charlotte Sleurs·NeuroImagePeer-reviewed·Jul 7, 2026
- Evaluating the reliability of functional near-infrared spectroscopy data in the context of a reasoning paradigm
Patrick G. Kelly, Heather Bortfeld, … Keanan J. Joyner·Developmental Cognitive NeurosciencePeer-reviewed·Jun 18, 2026
- Investigating task-free functional connectivity patterns in newborns using functional near-infrared spectroscopy
Homa Vahidi, Alexandra Kowalczyk, … Emma Gail Duerden·Brain and BehaviorPeer-reviewed·Dec 1, 2024
- Structure-Function Relationship in Electrical and Hemodynamic Brain Networks: Insights from EEG and fNIRS during Rest and Task States
Rosmary Blanco, Maria Giulia Preti, … Alessandro Crimi·bioRxiv·Apr 27, 2024
- LIONirs: flexible Matlab toolbox for fNIRS data analysis.
Julie Tremblay, Eduardo Martínez‐Montes, … Anne Gallagher·Journal of Neuroscience MethodsPeer-reviewed·Jan 25, 2022