@larsoner , following up on discussion point from the finger tapping example recently merged
In order to extend this to the moments, first thing that needs to be done is support for reading the files
The moments file corresponding to the Hb file used in the example is included in the OSF repo and the data fetcher - can be accessed with the following:
from mne_nirs.datasets import camh_kf_fnirs_fingertapping
read_raw_snirf(f)
camh_kf_fnirs_fingertapping.data_path()
f = '~/mne_data/camh_kf_fnirs_fingertapping/sub-01/ses-01/nirs/sub-01_ses-01_task-fingertapping_nirs_MOMENTS.snirf'
from mne.io import read_raw_snirf
I have tried patching the IO for this but it looks like more than just a simple fix. That said, the issues mainly seem to be text matching and pre-defined data types not existing in the current lists.
I am wondering if a 'misc' channel type could be a working solution, and tried this
But eventually get an error that there need to be at least two chromophores
This is as far as I got.
If you can kick this off, happy to chip in where useful; please advise.
@larsoner , following up on discussion point from the finger tapping example recently merged
In order to extend this to the moments, first thing that needs to be done is support for reading the files
The moments file corresponding to the Hb file used in the example is included in the OSF repo and the data fetcher - can be accessed with the following:
I have tried patching the IO for this but it looks like more than just a simple fix. That said, the issues mainly seem to be text matching and pre-defined data types not existing in the current lists.
I am wondering if a 'misc' channel type could be a working solution, and tried this
But eventually get an error that there need to be at least two chromophores
This is as far as I got.
If you can kick this off, happy to chip in where useful; please advise.