Importing pre-processed and epoched data (EGI-MFF)

,

Hello,

I have EEG data that were acquired, pre-processed, and epoched by EGI Netstation. Each epoch consists of 200ms baseline and 1,200ms post-stimulus. When I imported the data, I can see only the first 200ms of the first epoch, but not the rest (see the screenshot). Just in case, I will leave the link to the data folder (Dropbox - File Deleted - Simplify your life). Can you help?

Sungjin

Hi Sungjin,

There is indeed a bug, which I suspect is related with the EEGLAB plugin we use to read .mff file. Or there is some issue with your .mff file.
The function mff_import shows lots of warnings and then returns a structure which contains incoherences (some fields indicate the file contains continuous recordings others that it is epoched data, the timing of the epochs is not clear, etc). Brainstorm interprets incorrectly this structure and cannot display or process the file correctly.

I reported this issue to the developers of the mffmatlabio library:

Let's wait from some feedback from them.

François

Yes I can wait. Thanks for the follow-up, Francois!

I proposed myself a fix for the mffiolibrary:
https://github.com/arnodelorme/mffmatlabio/pull/5
https://github.com/arnodelorme/mffmatlabio/issues/4

It is already integrated into Brainstorm, so you can update Brainstorm an try again (menu Update > Update Brainstorm).
It will download this modified version of this library automatically from the Brainstorm website.
Restart Matlab and then try linking your file again to the database (Review raw file).
You should now be able to navigate through epochs from the Record tab in the Brainstorm window.

BUT, you will see that it loads your epochs only between -200ms and 0ms...
And about this, there is not much I can do myself, there is some data that is not read correctly.

Please upload your file again to dropbox (I noticed that the link does not work anymore) so that the developers of the mffiolibrary can download your file as well, and test what is wrong with it.
If possible, post you link directly on the github issue:
https://github.com/arnodelorme/mffmatlabio/issues/4
(If you don't have a github account and don't want to create one, post your link here and I will relay it)

Hello Francois,

As you instruct, I updated BT, deleted the data file, and imported it again. While reading in the data file, a pop-up window appeared as shown below. I just hit OK, and then found only one epoch between -200 and 0 ms.

I also add a link to the data file and if you can relay it to the developer, that would be great! : Dropbox - File Deleted - Simplify your life

Thanks

@cooldesert

Hello

The developer of the EEGLAB mffmatlabio library (for reading the EGI .mff files) is asking if he can include the dataset you previously posted here in the test suite of the library.
https://github.com/arnodelorme/mffmatlabio/issues/4#issuecomment-541461217

Please let us know if you are OK with it.
(if you can, post directly your reply on the github issue, otherwise reply here and I will report your message there)

Thanks
Francois