- MNE version: 1.6.1
- operating system: Windows 11
Hi everyone, I’m new to MNE and I have some questions about creating ‘raw’ objects with fNIRS data. I’m following the tutorial “Creating MNE-Python data structures from scratch.”
I am currently working with a data set that contains raw fNIRS data in a matrix (n_channels, n_times). The data is in Intensity format and includes two wavelengths: 760nm (referred to as “low”) and 850nm (referred to as “high”). There are 36 channels of data, sorted by low wavelength followed by high wavelength. Here’s an example:
‘AF7Fp1lowWL’, ‘AF3Fp1lowWL’, ‘AF3AFzlowWL’… ‘AF7Fp1highWL’, ‘AF3Fp1highWL’, ‘AF3AFzhighWL’…
So, I’m wondering if I can provide the matrix data in that format to ‘mne.io.RawArray’ or if I need to reorganize the data into ‘CH1_low’, ‘CH1_high’…
The other concern is about channel locations. I want to use some topographic representation functions from MNE, but I don’t know how to define channel locations. I have the (x,y) position values for sources and detectors, as well as the names.
For example:
Source x:
NaN
-0.453073664397974
-0.233404256408214
0
0.233285938735498
…
Source y:
NaN
0.623573655151346
0.585809219797768
0.769230769230769
0.585611395322800
0.623573655151346
…
I would greatly appreciate your assistance with these questions.