...
Create a BIDS path using
mne_bids
Get all the info needed to create the events file
if we create fix fixed length events: we need to extract the event id
if we extract existing events we use
mne.read_events()
Convert the MEG file into a BIDS structure using
mne_bids.write_raw_bids()
and specify events_data and events_idExtract the
events.tsv
from the BIDS pathSave it in the output directory
...
Note |
---|
This code works well on fix fixed length events but was not tested on data with existing events!!!! |
...