fNIRS processing with NIRSport2 device at the Australasian Brain & Psychological Sciences Meeting 2022.
We will take a measurement and go from raw data to average waveforms and topographic GLM results.
The project has three components:
montage
: Contains the NIRSport2/Aurora files for the montage used in this demo.experiment
: Contains a python script to run the example experiment, including sending triggers via the cedrus usb to parallel converter.analysis
: Contains analysis scripts for both waveform and GLM style analysis. We will use these to kick start the conversation.
- Install poetry
- Move to the directory
cd /path/to/2022-ABPS-fNIRS-Demo
- Install requirements
poetry install
- Run the experiment and specify the required parameters
poetry run python experiment/experiment.py --subject Rob --session test --run 1
- Install MNE using the method recommended at https://mne.tools/stable/install/index.html
- Run Jupyter Lab
jupyter lab
- Move to the analysis directory and launch the relevant notebook
- Change the path to your data