EGI Data (Phantom Study)

By the way, I have heavily redesigned the corresponding webpages in the documentation. The server will be updated overnight.

Thank you! but…

I don’t have the file montreal_subjectimage.mat in the subject folder of the EGI subject(?), but if I make a copy there:

>> load montreal_subjectimage
Cube = double(Cube);
save montreal_subjectimage Cube -append
??? Error using ==> save
Unable to write file montreal_subjectimage.mat: permission denied.

Sorry!

Hi Ilka,

The montreal subjectimage file does not give good warping results. For some reason, it has been altered from previous versions and I still don’t know why.

Try using the subjectimage file:
http://neuroimage.usc.edu/pantazis/montreal_subjectimage.mat
Together with the montreal_4layer_tess.mat file already available in the phantom directory, you should be able to get good warping results.

Also, while revisiting the warping procedure, I fixed minor bugs. Either download the attached m files, or wait one day and redownload brainstorm (the automatic update should include the new m files)

Best,
Dimitrios

Thank you!

Now it looks much better and RAP-MUSIC works!!!
I did everything in the tudorial again and I had no problem to import the EGI data and the MRI pictures look perfect!

This is all good and perfect!

Thanks everybody for your precious contribution and let’s get the thing rollin’ !

Hi you all!

I hate to spoil the fun but I am still having some bugs. What Matlab version are you using? I am using Matlab 7.2.0.232 (R2006a).

Regards,
Thorsteinn

No pb with spoiling anything :wink:

I’m using the same Matlab version as yours. Please send us specific details about he bugs you’re experiencing. Maybe this is all because the version you have was not updated?

I think I have sorted this out.

First there was a minor bug with reading in the data from the ChannelInfo file. There was an empty line at the end of ChannelInfo.sfp, which caused the script reading from the file not to see the end of it. A simple way to fix it was to remove the empty line, but also making some changes in lines 370-398 in ‘elpos2bs.m’ fixed it (without removing the empty line in ChannelInfo.sfp). I’ll attach my changed version of elpos2bs.m.

But the bigger bug involved the reference channel. When reading in the data there was always some inconsistency with the number of channels, it didn’t seem to find a reference channel in the data. I changed line 163 in elpos2bs.m from
if(strcmp(label,‘cz’))
to
if(strcmpi(label,‘cz’))
i.e. made the string comparison ignore case. I guess equivalently it could also be
if(strcmp(lower(label),‘cz’))

So now I can finally import the data error free.

Hi Thorsteinn,

All teh trouble you describe should be fixed in the latest version (2.2.24). Let me know if you’re still having troubles with this one. If yes, I’ll include your suggestions.

Thanks a million!

I downloaded the update file yesterday and also today and still had the errors. The version is 2.2.23 so I guess the update zip file is not up to date?

Please try again later today or tomorrow as the automatic update of the archives usually occur at noon on the next day. I’ll check also by myself.

Greetings!