[Nutmeg-users] NUTMEG for EEG

GUGGISBERG Adrian Adrian.Guggisberg at hcuge.ch
Mon Oct 31 02:01:10 PDT 2016


Dear Bin,

For importing EEG data, we recommend to use the “import via Fieldtrip fileio” option. This will also ask you for your EEG coordinates file.
If you do not have your EEG coordinates in a format recognized by NUTMEG, Cartool’s .xyz format is probably the easiest to export to.

load EEGLAB_elec_file   % use your filename here
fid=fopen(‘eleccoords.xyz’,’wt’);
fprintf(fid,’num_of_elecs\n’);
for k=1:num_of_elecs
fprintf(fid,’%1.4f %1.4f %1.4f %s\n’,elec.x,elec.y,elec.z,elec.label);
end
fclose(fid)

I am not entirely familiar with EEGLABs conventions and the file you sent did not come through. You might therefore have to adapt the elec.x ... elec.label part according to your situation.

Best,
Adrian



De : nutmeg-users-bounces at www.nitrc.org [mailto:nutmeg-users-bounces at www.nitrc.org] De la part de Bin Wang
Envoyé : lundi 29 août 2016 11:52
À : nutmeg-users at www.nitrc.org
Objet : [Nutmeg-users] NUTMEG for EEG

Dear Expert for nutmeg,

Is there anyone who is using nutmeg to analyse the EEG data? I am using EEGLAB to analyse the data and totally new for NUTMEG.

I have a naive question about loading the electrode coordinates when I load the data. I do have a coordinate file from the EEGLAB (.mat file including name of electrode and XYZ coordinate, as attachment). How can I convert this to NUTMEG format (.sfp?)? And what kind of information should be included in this file? A example will be very helpful.

Thank you very much.

Best
Bin

++++++++++++++++++++++++++++++
Bin Wang
Cognitive Neuroscience
Institute of Neuroscience and Medicine (INM-3)
Forschungszentrum Juelich,
Leo-Brandt-Str. 5
52425 Juelich
Email: b.wang at fz-juelich.de<mailto:binwang87828 at gmail.com>
        & binwang87828 at gmail.com<mailto:binwang87828 at gmail.com>
Telefon: 02461-61-9542
++++++++++++++++++++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/nutmeg-users/attachments/20161031/eba19f31/attachment.html>


More information about the Nutmeg-users mailing list