In this series I will introduce how we analyzed NIRS hyperscanning data. NIRS hyperscanning is a technology where you can measure two (or more) people’s brains at the same time. This is useful in studying the brain basis of social behavior.
We will cover:
- Experiment design
- Data collection
- Data quality check
- Wavelet coherence analysis
- Group level statistics
I myself played this game for quite some times and it’s not a very easy game. The two players have to press the buttons at the same time to win.
You can find the source MatLab code for the experiment below. These scripts are adopted from a previous experiment when I was in Baylor College of Medicine. You will see that the scripts are in no way well commented and it’s probably difficult to read. But in any case it might be helpful. Also note that the scripts require PsychToolbox.
Please fill the form and download the scripts: