kylemath / pyoptical

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

Pyoptical jk #12

Closed kuziekj closed 4 years ago

kuziekj commented 4 years ago

Made a new function (boxy2mne) that takes two arguments (locations for a .mgt and .tol file) and returns the channel distances, calculated using mne.preprocessing.nirs.source_detector_distances.

Tested this on the optical imaging data from the arr experiment.

kylemath commented 4 years ago

I ran this on my test2.py code and it works, so I moved it into utils.py and will merge this into master, I also added some example .mtg, .tol, and .001 data files, and some matlab code examples for renaming boxy files, and for creating event files from behavioural output)