EGI Data (Phantom Study)

Hello!

I can not import the EGIData (.raw)file from the tutorial. And as far as I can see from the source code this file has not the correct stucture for EGI modus. Is that possible?

For Landmark definition I have to select all of them (not only FidNz (Nasion), FidT9 (Left Ear) and FidT10 (Right Ear)), otherwise I get an error message. And if I select all of them the dataset is not correct.

Please help me!

Thank you!

Thanks for your report.

Could you please indicate the error message(s) you get in the Matlab command window or elsewhere ?

Thanks!

Hello!

If I select FidNz (Nasion), FidT9 (Left Ear) and FidT10 (Right Ear) for Landmark definition ->> Did not find sensor named E1 in original sensor location file.

It only works if I select all the sensors. But then the dataset has just 5.9 Kbytes. (In the movie it has 2.9 Mbytes).

An other question:
I have my eeg-data in .edf files. What is the best way to get the .raw and .sfp files out of it?

Thank you!

[QUOTE=Ilka;591]Hello!
If I select FidNz (Nasion), FidT9 (Left Ear) and FidT10 (Right Ear) for Landmark definition ->> Did not find sensor named E1 in original sensor location file.
Thank you![/QUOTE]

I get exactly the same error trying to import the EGI data in the “Phantom study” tutorial (i.e. when selecting the Landmark definition this error pops-up).

Cheers -
Thorsteinn

OK folks,

we're going to check this out.

As for

An other question:
I have my eeg-data in .edf files. What is the best way to get the .raw and .sfp files out of it?
, please have a look at the website for details on how to write your data in the raw format (ascii or bin):http://neuroimage.usc.edu/brainstorm/mFileHelp/5Toolbox/help_data_raw.html

more soon then !

Dear all,

I was wondering to which sample raw data file you were referring to ? Is it the one described in http://neuroimage.usc.edu/brainstorm/TutorialImportRawData.html, which is MEG?

Probably not as you are mentionning EGI data, hence EEG. May I ask to specify where you got the data from ?

Cheers,

I was using the data refered to in the “Phantom Study” tutorial.

The link to the data is:
http://neuroimage.usc.edu/brainstorm/tutorial/Data/EGIdemo.zip

Hello!

I used the same data!

Could it be a problem of load_raw.m?

Thanks!

Problem’s fixed folks. There was a bug in the process of importing EGI data in raw format. Dowload the attached patch to replace the script in the toolbox folder.

Thanks for your precious contribution and let me know if you’re running into more troubles.

Cheers,

Hi, thanks for the update.
Now the files seem to be read properly and imported. But after importing the data an error occurrs every time the matlab file, “EGIdemo_data.mat”, is to be read:

Error using ==> load
Can’t read file BrainStorm\EGIdemo_data.mat.

I am still just following the tutorial section I mentioned before. (tutorial video!).

Cheers,
Thorsteinn

This step was working on my station yesterday.
Make sure you have downloaded the latest BrainStorm version (2.2.23)

However, the problem might be related to your local database. Could you please let me know what is the path of your Study folder (i.e. the parent folder where BrainStorm\EGIdemo_data.mat. is stored?). It must not be at the root of a drive, e.g. C:\

Best regards,

Hi Sylvain and thanks for the reply.

[QUOTE=Sylvain;615]This step was working on my station yesterday.
Make sure you have downloaded the latest BrainStorm version (2.2.23)[/QUOTE]

I have the latest version (2.2.23 from 31. Jan 2007).

[QUOTE=Sylvain;615]
However, the problem might be related to your local database. Could you please let me know what is the path of your Study folder (i.e. the parent folder where BrainStorm\EGIdemo_data.mat. is stored?). It must not be at the root of a drive, e.g. C:
[/QUOTE]

The path is:
X:\brainstorm\EGIdemo\dataset\BrainStorm

When loading the data the message window reports that it has finished importation, but the error I mentioned is caught and printed in the Matlab command promt (i.e. BrainStorm does not crash in any way). Every time the “refresh” button is then pushed in the “Data Manager” the error is also caught and printed in the the Matlab command promt.

OK,

but can you see the data once you have hit ‘Close’ in the data import window and selected the EGI data in the datamanager (right-click > Load ): you should see the dataviewer window appear on the left handside of the screen, then click on the ‘Plot’ button at the top of the window.

Cheers,

Hello!

I had the same problem. Matlab tries to find EGIdemo_data.mat in the subject folder and not in the dataset folder. I made a copy of EGIdemo_data.m in \brainstorm\EGIdemo\subject\EGIdemo_Subjectraw\BrainStorm and now it works.

But if I go on with the tutorial and open the MRI viewer the pictures look stange.

If I open the MRI Viewer, in the Message window it says: No envelope was selcted for viewing.

What’s wrong here?

Hi Ilka,

we seem to be struggling with the same tutorial! Have you successfully loaded the EGI data?

I have reinstalled the latest version of BrainStorm and run ‘brainstorm_reset.m’. Now the data seems to be loaded but when I try plotting as Sylvain suggested in his last post an error window pops up saying:

  • ChannelFlag in data file must be the same length as the Channel structure in channel file

Hold tight folks, we’re gonna work this out.

here is what I’m gonna do: redo the tutorial with this data from scratch and see how it goes.

Stay tuned!

Hello!

Yes, I have successfully loaded the EGI data. Looks good, but I have poblems using RAP-Music.

->Error using ==> load
Unable to read file \BrainStorm\EGIdemo_channel.mat: No such file or directory.

And the MRI pictures still look strange.

Hi Ilka,

Do you know what was going wrong on loading the EGI data ?

As for the MRI: press the ‘Darken’ button several times to adjust the scale of the colormap.

We’ll see why the RAP MUSIC does not run properly now.

Cheers,

The darken button will do nothing here apparently.
The Phantom MRI got somehow corrupted.

Try to do the following:
At the Matlab command prompt, go inside the subject folder of the EGI subject, then type:

load montreal_subjectimage
Cube = double(Cube);
save montreal_subjectimage Cube -append

and redo the warping and let me know how it looks like