From Adrian.Guggisberg at hcuge.ch Mon Oct 31 02:01:10 2016 From: Adrian.Guggisberg at hcuge.ch (GUGGISBERG Adrian) Date: Mon, 31 Oct 2016 10:01:10 +0100 Subject: [Nutmeg-users] NUTMEG for EEG In-Reply-To: References: Message-ID: <37097D0D760C8E47847FFE86892B22A90188486B5F@EXCH2.huge.ad.hcuge.ch> 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 & binwang87828 at gmail.com Telefon: 02461-61-9542 ++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: