prepare_layout #input?

Ingrid Nieuwenhuis ingrid.nieuwenhuis at DONDERS.RU.NL
Wed Jul 29 10:28:38 CEST 2009


Dear Akiko,

You're right that it is a bit confusing the way it is stated right now at
the wiki. What is meant is that the first column is not used any more during
the plotting by the plotting functions. But all FieldTrip functions do
expect that that there is a first column present in the layout file
containing the channel number. So when you are making a .lay file you should
indeed add that column (although what is in there is totally ignored by the
plotting functions). So the six columns in the layout file should be: chNum,
X, Y, Width, Height, Lbl.

I've modified the wiki, hope it is clearer now.

All the best,
Ingrid

___________________________________
Ingrid Nieuwenhuis
PhD student
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging
Radboud University Nijmegen, The Netherlands
Email: ingrid.nieuwenhuis at donders.ru.nl
Tel: 0031 (0)24 - 36 10887


> -----Original Message-----
> From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On
> Behalf Of Akiko Ikkai
> Sent: Wednesday, July 29, 2009 12:57 AM
> To: FIELDTRIP at NIC.SURFNET.NL
> Subject: [FIELDTRIP] prepare_layout #input?
>
> Hi,
>
> I'm new to Fieldtrip, and am using fieldtrip-20090715 version.
>
> I'm making .lay file for our intracranial EEG data, and realized that
> prepare_layout.m requires 6 entries (chNum,X,Y,Width,Height,Lbl,Rem),
> whereas on the website ( http://fieldtrip.fcdonders.nl/tutorial/layout )
> it
> says, "The 1st column is the channel number in the layout file, it is not
> used any more.". prepare_layout.m runs when I add chNum to my .lay, OR
> change line 743 of prepare_layout.m to [X,Y,Width,Height,Lbl,Rem] =
> textread(filename,'%f %f %f %f %q %q');
>
> For the future reference, I'm wondering which is more recent way to write
> .lay files.... with, or without chNum?
>
> Thanks in advance! Akiko
>
> Akiko Ikkai
> PhD Candidate
> Department of Psychology
> New York University
> 6 Washington Place
> New York NY, 10003
>
>
>
> ----------------------------------
> The aim of this list is to facilitate the discussion between users of the
> FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
> and EEG analysis. See also
> http://listserv.surfnet.nl/archives/fieldtrip.html and
> http://www.ru.nl/neuroimaging/fieldtrip.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list