[Mne_analysis] Issue with reading events from .mff file

Eric Larson larson.eric.d at gmail.com
Thu Dec 12 09:43:47 EST 2019
Search archives:

        External Email - Use Caution        

This does sound like a bug, feel free to open an issue.

In the meantime you can also try loading your data with this library:

https://github.com/BEL-Public/mffpy

If it works, as a workaround you could hack your way back to MNE by reading
data with that library and constructing a RawArray object in MNE.

Eric


On Thu, Dec 12, 2019 at 9:04 AM Raphaël Thézé <raphael.theze at gmail.com>
wrote:

>         External Email - Use Caution
>
> Dear all,
>
> I only recently began to work (or try to) with MNE python thanks to the
> workshop Practical MEEG a week ago. During the workshop I tried replicating
> what we learned on my own data but a problem rose with the reading of
> events and it could not be solved in the context of the workshop.
>
> To summarize, I work with EGI data (format .mff). The stimuli are 480
> short videos with characters saying sentences and trigger events are coded
> as follow:
> - a first trigger at the onset with a unique code corresponding to the ID
> of the sentence (40 different stim)
> - a second trigger during the stimulus coding for condition (2 different
> stim)
> - a third trigger at the end of the video coding for the ID of the
> character (6 different stim)
> - a fourth trigger after the video coding for the participant's answer on
> the keyboard to a question (4 different stim)
>
> When I import the data I use the following script:
> https://gist.github.com/rtheze/31bef97aa0f4fff1b1506e1611746012
>
> I can't publicly share the data, but if someone is wiling to run some test
> I can send a dataset in a private message.
>
> The problem is when I print events, for instance 'D206' or 'D208' which
> correspond to condition trigger I respectively have 200 and 203 events
> found, while I should have 240 of each.
>
> I know for certain that the data is ok because I work with it in matlab
> (fieldtrip) and the number of events is as expected. The only option I see
> is the that the mne function does not read properly the .mff data but
> before opening an issue I prefer to ask for advice.
>
> In advance, thank you for your help
> Best,
> Raphaël Thézé
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191212/01d46d03/attachment-0001.html 


More information about the Mne_analysis mailing list