A desktop application for analyzing fNIRS hyperscanning data using graph theory measures. Built as a capstone project for a B.Sc. in Software Engineering by Yonatan Sherer.
This tool enables neuroscientists and researchers to:
- Organize raw
.matfiles from hyperscanning experiments - Generate correlation matrices between fNIRS channels
- Apply thresholding techniques to build connectivity graphs
- Compute global and local graph metrics
- Compare metrics across dyads, conditions, and groups
- Export results as CSV files, images, and PDF reports with insights
- 📂 Automatic folder-based experiment import
- 📊 Correlation matrix generation and heatmap visualization
- ⚙️ Thresholding options: Fixed, Median, and Top Percentile
- 🌐 Global graph metrics: Global Efficiency, Modularity, Clustering Coefficient, etc.
- 🔬 Local metrics: Node Strength, Local Efficiency
- 📈 Visual comparisons across experimental conditions
- 📝 Auto-generated textual insights and exportable reports
ExperimentName/
├── GroupA/
│ └── Condition1/
│ ├── dyad1_Mom.mat
│ ├── dyad1_Baby.mat
├── GroupB/
│ └── Condition2/
│ ├── dyad2_Mom.mat
│ ├── dyad2_Baby.mat
- Python 3.10+
- Recommended: Create a virtual environment
git clone https://github.com/your-username/fnirs-hyperscanning-tool.git
cd fnirs-hyperscanning-tool
pip install -r requirements.txtpython opening_screen.pypyinstaller --name=fnirs-tool --windowed --onefile --icon=favicon3.ico opening_screen.pyMake sure to include
.uiand other resource files in thedist/folder if needed.
- PyQt6
- numpy
- scipy
- pandas
- seaborn
- matplotlib
- networkx
- scikit-learn
- reportlab
- fpdf
- 📘 Project Book – System overview, architecture, development process
- 👨💻 User Guide – Step-by-step usage instructions
- 🔧 Maintenance Guide – Installation, environment setup, and deployment notes
Use synthetic .mat files named by dyad and role (e.g., dyad1_Mom.mat) for testing. Each file should contain a time × channels matrix.
Alternatively, load real time-series data by clicking on "Select Folder...".
Sample folder can be found in test directory on this repository.
- Heatmaps (.png)
- Comparison plots (.png)
- Graph metrics (.csv)
- PDF reports with auto-generated interpretation
Thanks to the neuroscience community and academic mentor Anat Dahan for supporting this project.