[FieldTrip] Still about channel repair (jan-mathijs schoffelen)
Ivano Triggiani
ivano_triggiani at yahoo.it
Wed Feb 5 10:25:44 CET 2014
Dear Jan-Mathijs,
Thanks a lot for you quick answer, but I can assure you that I read every document before sending any boring message to community :-D .
I prepared that electrodes position file (although it is not so clear how to prepare channels position file!), but I don't understand where it has to be declared... I searched for some template scripts but nothing seems to help.
My problem seems easy. I have a bad channel (P3 referred to AFz, from standard 10-10 System), and I want to 'repair' it...
Ivano
------------------------------------------------------------------------
"No man can wear one face to himself
and another to the multitude,
without finally getting bewildered
as to which one is true."
Nathaniel Hawthorne
------------------------------
Message: 4
Date: Tue, 4 Feb 2014 18:08:37 +0100
From: jan-mathijs schoffelen <jan.schoffelen at donders.ru.nl>
To: Fieldtrip List <fieldtrip at science.ru.nl>
Subject: Re: [FieldTrip] Still about channel repair
Message-ID: <0AF44F48-1472-4609-86AE-3CFFB5E20D62 at donders.ru.nl>
Content-Type: text/plain; charset="us-ascii"
Hi Ivano,
Please have a look at the link attached.
http://fieldtrip.fcdonders.nl/faq/how_are_electrodes_magnetometers_or_gradiometers_described
Best,
Jan-Mathijs
On Feb 4, 2014, at 6:01 PM, Ivano Triggiani wrote:
> Hi Fieldtrippers,
>
> I read many answers about problems on channel repair, but still something miss me to understand hot to fix a channel. I tried with:
> cfg = [];
> replace_channels = ft_channelselection('gui',hdr.label);
> cfg.badchannel = replace_channels;
> cfg.layout = 'EEG_layout.lay';
> cfg.method = 'triangulation';
> cfg.elecfile = 'EEG_cap.sfp';
> cfg.neighbours = neighbours;
> cfg.trials = 'all';
> elec.label = hdr.label;
> data.elec = ft_prepare_layout(cfg);
> repaired_data = ft_channelrepair(cfg,rawdataout);
>
> but it returns:
> ??? Error using ==> ft_channelrepair at 92
> the data should contain either an electrode or a gradiometer definition
>
> I cannot find into documentation what it means.
> I guess I have to specify the kind of measurement (EEG/MEG), but where?
> Furthermore I read the docs about electrode position , channel position and so on, but can we get some example?
>
> Thanks a lot,
>
> Ivano
> ------------------------------------------------------------------------
>
>
>
>
> "No man can wear one face to himself
> and another to the multitude,
> without finally getting bewildered
> as to which one is true."
>
>
> Nathaniel Hawthorne
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
Jan-Mathijs Schoffelen, MD PhD
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
Max Planck Institute for Psycholinguistics,
Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: +31-24-3614793
http://www.hettaligebrein.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140204/692422d4/attachment.html>
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140205/31555ce7/attachment-0001.html>
More information about the fieldtrip
mailing list