Digtrigmask for mne_compute_raw_inverse?

Hi all,

I am currently playing around with producing raw data for roi's in matlab by using mne_compute_raw_inverse followed by mne_raw2mat. I am ending up with missing events for a particular raw file. When I load the file in mne_browse_raw with the --digtrigmask 255 option, all of the events show up in the event list. Without that option, the vast majority of the events are missing. Similarly, the vast majority of the events are missing at the end of the mne_compute_raw_inverse > mne_raw2mat. There is no digtrigmask option for either of those functions, but is there a way to achieve something similar and recover those hiding events when using these functions? Thanks for any help.

Cheers,
Cody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20151218/dd362567/attachment.html

Hi Cody,

First, you should sort out the acquisition problem to avoid this
issue. It is also wise to go through the raw data of the trigger
channel and make sure the values make sense, given the error in
acquisition. There might be several reasonable options depending on
what you see when you analyze the digital trigger channel (possibly,
just adding 255 to all of the events you are trying to average to).
Without more details it will be hard to find the correct solution.
Also, this would be rather trivial in mne-python.

hth
d

Adding 255 to the events worked. Thanks.

Cheers,
Cody