Closed kuziekj closed 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)
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.