I am trying to follow along the tutorial scripts provided for processing fNIRS data. However, my data output lacks some of the folders included in the sample data sets provided, for example, the ‘subjects’ folder. Additionally, my data is in the .nirs file format and I don’t know if that impacts how it gets processed.
Thanks for trying MNE with your fNIRS data and sharing the test files, that makes it easier to see what you are working with.
First, some background details. Your data has been exported in the native nirx format and in the .nirs format. We will use the nirx format as it is better documented and works very well with MNE. The .nirs format is being phased out in favor of the better documented snirf format, but that is not something that will affect us here.
I was able to load your data by running the following commands…
import mne
raw = mne.io.read_raw_nirx("/path/MovieDistSAMPLEDATA/0F19372E_2021-12-09")
# Loading /Users/rluke/Downloads/MovieDistSAMPLEDATA/0F19372E_2021-12-09
# <ipython-input-2-b0c81c774a91>:1: RuntimeWarning: MNE has not been tested with Aurora version 2021.9.0-6-g14ef4a71
Then I was able to validate that the data looked sane by running