<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Dear Jan-Mathijs,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>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 . <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>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.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>My problem seems easy. I have a bad channel (P3 referred to AFz, from standard 10-10 System), and I want to 'repair' it... </span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent;
font-style: normal;"><span>Ivano<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div> </div><div>------------------------------------------------------------------------</div><div><br><br></div><div>"No man can wear one face to himself <br>and another to the multitude,<br>without finally getting bewildered <br>as to which one is true."</div><br><br><div>Nathaniel Hawthorne</div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"><br><div class="y_msg_container">------------------------------<br><br>Message: 4<br>Date: Tue, 4
Feb 2014 18:08:37 +0100<br>From: jan-mathijs schoffelen <<a ymailto="mailto:jan.schoffelen@donders.ru.nl" href="mailto:jan.schoffelen@donders.ru.nl">jan.schoffelen@donders.ru.nl</a>><br>To: Fieldtrip List <<a ymailto="mailto:fieldtrip@science.ru.nl" href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>Subject: Re: [FieldTrip] Still about channel repair<br>Message-ID: <<a ymailto="mailto:0AF44F48-1472-4609-86AE-3CFFB5E20D62@donders.ru.nl" href="mailto:0AF44F48-1472-4609-86AE-3CFFB5E20D62@donders.ru.nl">0AF44F48-1472-4609-86AE-3CFFB5E20D62@donders.ru.nl</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hi Ivano,<br>Please have a look at the link attached.<br><br><a href="http://fieldtrip.fcdonders.nl/faq/how_are_electrodes_magnetometers_or_gradiometers_described" target="_blank">http://fieldtrip.fcdonders.nl/faq/how_are_electrodes_magnetometers_or_gradiometers_described</a><br><br>Best,<br>Jan-Mathijs<br><br>On
Feb 4, 2014, at 6:01 PM, Ivano Triggiani wrote:<br><br>> Hi Fieldtrippers,<br>> <br>> I read many answers about problems on channel repair, but still something miss me to understand hot to fix a channel. I tried with:<br>> cfg = [];<br>> replace_channels = ft_channelselection('gui',hdr.label);<br>> cfg.badchannel = replace_channels;<br>> cfg.layout = 'EEG_layout.lay';<br>> cfg.method = 'triangulation';<br>> cfg.elecfile = 'EEG_cap.sfp';<br>> cfg.neighbours = neighbours;<br>> cfg.trials = 'all';<br>> elec.label = hdr.label;<br>> data.elec = ft_prepare_layout(cfg);<br>> repaired_data = ft_channelrepair(cfg,rawdataout);<br>> <br>>
but it returns:<br>> ??? Error using ==> ft_channelrepair at 92<br>> the data should contain either an electrode or a gradiometer definition<br>> <br>> I cannot find into documentation what it means.<br>> I guess I have to specify the kind of measurement (EEG/MEG), but where?<br>> Furthermore I read the docs about electrode position , channel position and so on, but can we get some example?<br>> <br>> Thanks a lot,<br>> <br>> Ivano<br>> ------------------------------------------------------------------------<br>> <br>> <br>> <br>> <br>> "No man can wear one face to himself <br>> and another to the multitude,<br>> without finally getting bewildered <br>> as to which one is true."<br>> <br>> <br>> Nathaniel Hawthorne<br>> _______________________________________________<br>> fieldtrip mailing list<br>> <a ymailto="mailto:fieldtrip@donders.ru.nl"
href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><br>Jan-Mathijs Schoffelen, MD PhD <br><br>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands<br><br>Max Planck Institute for Psycholinguistics,<br>Nijmegen, The Netherlands<br><br><a ymailto="mailto:J.Schoffelen@donders.ru.nl" href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a><br>Telephone: +31-24-3614793<br><br><a href="http://www.hettaligebrein.nl/" target="_blank">http://www.hettaligebrein.nl</a><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140204/692422d4/attachment.html"
target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140204/692422d4/attachment.html</a>><br><br>------------------------------<br><br><br><br></div> </div> </div> </div> </div></body></html>