kylemath / pyoptical

Imagent optical imaging interface to MNE loading
MIT License
4 stars 1 forks source link

Filt data labels #20

Closed kuziekj closed 4 years ago

kuziekj commented 4 years ago

-boxy2mne will label channels similar to nirx.py, except with channel type as well (eg. S1_D1 830 AC). This is done because some functions search for channel using a specific string ("mne.preprocessing.nirs.scalp_coupling_index" does "re.match(r'S(\d+)_D(\d+) (\d+)',raw.info['chs'][ii]['ch_name'])" to find channel labels)

-info.dig now contains all channel names and coords from the .elp file rather than from just the boxy file

-all coordinates are now transformed before being returned

-add a boxy2mne_tests.py file to run/plot several tests