Add conversion to EMG BIDS and notebooks to demo usage using mne and mne-bids#6
Add conversion to EMG BIDS and notebooks to demo usage using mne and mne-bids#6agramfort wants to merge 2 commits into
Conversation
|
@neuromechanist I took at stab at converting the emg2pose dataset to BIDS so it can be added to the NEMAR portal. Let me know what you think and how to move forward here. cc @drmcloy @arnodelorme @rick-warren the objective is to have all our EMG dataset easily accessible in a standard format so that the academic community can use it with standard open source tooling (eg mne and mne-bids as shown in the demo example). |
drammock
left a comment
There was a problem hiding this comment.
sorry I didn't see this sooner @agramfort; I was tagged with the wrong username when the PR was opened.
| subject=f"{subject_idx + 1:02d}", | ||
| session=f"{session_idx + 1:02d}", | ||
| task="emg2pose", | ||
| acquisition=side, # left or right hand |
There was a problem hiding this comment.
this should use recording entity I think, not acquisition (early on we were considering to use acquisition for simultaneous devices going into different files, but BIDS maintainers suggested recording instead)
| raw=raw, | ||
| bids_path=bids_path, | ||
| overwrite=True, | ||
| format="EDF", |
There was a problem hiding this comment.
just checking that 16-bit is OK with you (I didn't check what the bit depth is for the orig data in the HDF5 files). If not, use BDF.
| - joblib==1.4.2 | ||
| - nbformat==5.10.4 | ||
| - mne==1.11 | ||
| - mne-bids==0.18 |
There was a problem hiding this comment.
I think you need MNE-BIDS @ 47b49127e072802d2e689c815bce7567bb5121f0 (or an MNE-BIDS release and a bump to 0.19) to get the radians to be preserved?
There was a problem hiding this comment.
indeed ... I cannot land this as is for now.
There was a problem hiding this comment.
belated note: MNE-BIDS 0.19 was released 2 weeks ago, so it should be possible to move this forward now!
Add conversion to EMG BIDS and notebooks to demo usage using mne and mne-bids