<div dir="ltr">

<p class="MsoNormal"><span style="mso-ansi-language:EN-US" lang="EN-US">Dear
Grazia,</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-US" lang="EN-US">I’m using
the following code and it works fine:</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg = [];</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg.method = </span><span style="font-size:10pt;font-family:"Courier New";color:rgb(160,32,240)" lang="EN-US">'average'</span><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">;</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg.badchannel = channel;</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg.neighbours = neighbours;</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg.trials = </span><span style="font-size:10pt;font-family:"Courier New";color:rgb(160,32,240)" lang="EN-US">'all'</span><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">;</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">cfg.elec = sens;</span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US"><span style="mso-spacerun:yes"> </span></span><span style="font-size:12pt;font-family:"Courier New"" lang="EN-US"></span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">[interpol] = ft_channelrepair(cfg, opt1_dur);</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="color:black" lang="EN-US">Commend out the cfg.elec
leads to the same error as you get. “sens” in my code is the result of
ft_read_sens,</span><span style="font-size:10pt;color:black" lang="EN-US"> </span><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">sens=ft_read_sens(</span><span style="font-size:10pt;font-family:"Courier New";color:rgb(160,32,240)" lang="EN-US">'GSN-HydroCel-257.sfp'</span><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US">).</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="font-size:10pt;font-family:"Courier New";color:black" lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-US" lang="EN-US">I hope, it helps!</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-US" lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-US" lang="EN-US">Best,</span></p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:
"Courier New";mso-ansi-language:EN-US" lang="EN-US">Daria<span style="color:black"></span></span></p>

</div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-21 12:27 GMT+02:00 Grazia Di Pisa <span dir="ltr"><<a href="mailto:g.dipisa@gmail.com" target="_blank">g.dipisa@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi <span style="color:rgb(34,34,34);background-color:rgb(255,255,255)">Jörn</span>,<div><br></div><div>Thanks for the advice - I've just tried to add cfg.sens = sens but still the same error.</div><div><div><br></div><div>Any other suggestions?</div><div><br></div><div>thanks,<br><div><div style="word-wrap:break-word"><span style="font-family:JaneAusten;font-size:14px">~ grazia</span></div></div></div></div><div><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br></div></div>

</div>
<br><div><blockquote type="cite"><div>On 21Oct, 2015, at 12:00, <a href="mailto:fieldtrip-request@science.ru.nl" target="_blank">fieldtrip-request@science.ru.nl</a> wrote:</div><br><div>Send fieldtrip mailing list submissions to<br><span style="white-space:pre-wrap">   </span><a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span style="white-space:pre-wrap">     </span><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>or, via email, send a message with subject or body 'help' to<br><span style="white-space:pre-wrap">   </span><a href="mailto:fieldtrip-request@science.ru.nl" target="_blank">fieldtrip-request@science.ru.nl</a><br><br>You can reach the person managing the list at<br><span style="white-space:pre-wrap"> </span><a href="mailto:fieldtrip-owner@science.ru.nl" target="_blank">fieldtrip-owner@science.ru.nl</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of fieldtrip digest..."<br><br><br>Today's Topics:<br><br>   1. Call for new post docs in the Obleser lab | Auditory<br>      Cognition (Jonas Obleser)<br>   2. Spectrum normalization (Wunderle, Thomas)<br>   3. Interpolation and ft_channelrepair (Grazia Di Pisa)<br>   4. Re: Interpolation and ft_channelrepair<br>      (=?UTF-8?Q?J=C3=B6rn_M._Horschig?=)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 20 Oct 2015 06:07:51 -0500<br>From: Jonas Obleser <<a href="mailto:jonas@obleser.de" target="_blank">jonas@obleser.de</a>><br>To: <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>, <a href="mailto:AUDITORY@LISTS.MCGILL.CA" target="_blank">AUDITORY@LISTS.MCGILL.CA</a><br>Subject: [FieldTrip] Call for new post docs in the Obleser lab |<br><span style="white-space:pre-wrap"> </span>Auditory<span style="white-space:pre-wrap">        </span>Cognition<br>Message-ID: <<a href="mailto:71625964-4C4D-41CA-BEDB-171CEFBC87F8@obleser.de" target="_blank">71625964-4C4D-41CA-BEDB-171CEFBC87F8@obleser.de</a>><br>Content-Type: text/plain; charset=utf-8<br><br>The research group ?Auditory Cognition? (headed by Jonas Obleser; <a href="http://auditorycognition.com" target="_blank">auditorycognition.com</a>), now at the University of L?beck, is seeking to hire two Postdoctoral researchers, initially for 3 years, with the option of extension.<br><br>These positions fall into the larger framework of an ERC Consolidator grant ?The listening challenge: How ageing brains adapt? (AUDADAPT) recently awarded to Jonas Obleser, and will allow the joint development of cognitive-neuroscience and psychological research projects targeting adaptive control in the auditory modality of middle-aged adults.<br><br>Please download the full job advert here: <a href="https://www.dropbox.com/s/sqc9c94ewl6bjjh/Ausschreibung_1031_15_Wiss%20MitarbeiterIn_Psychologie_EN.pdf?dl=1" target="_blank">https://www.dropbox.com/s/sqc9c94ewl6bjjh/Ausschreibung_1031_15_Wiss%20MitarbeiterIn_Psychologie_EN.pdf?dl=1</a> <br><br>Note the application deadline of November 12 (postal receipt).<br><br><a href="http://auditorycognition.com" target="_blank">http://auditorycognition.com</a><br><a href="http://uni-luebeck.de" target="_blank">http://uni-luebeck.de</a><br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 20 Oct 2015 14:58:25 +0000<br>From: "Wunderle, Thomas" <<a href="mailto:thomas.wunderle@esi-frankfurt.de" target="_blank">thomas.wunderle@esi-frankfurt.de</a>><br>To: "<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>" <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>Subject: [FieldTrip] Spectrum normalization<br>Message-ID:<br><span style="white-space:pre-wrap">  </span><<a href="mailto:27E5CAD9145EEC41BB9B34C01716A198880C3CD4@UM-excdag-a02.um.gwdg.de" target="_blank">27E5CAD9145EEC41BB9B34C01716A198880C3CD4@UM-excdag-a02.um.gwdg.de</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi all,<br><br>I have a question about how FieldTrip normalizes the output of a spectral analyses using ft_freqanalysis.<br>This is important for me, because I need the absolute value of the spectrum for a publication.<br><br>I was scanning through the code trying to find the normalization steps.<br>In particular, I don't understand the following steps:<br><br><br>1.)    The tapers (e.g. hanning) are normalized prior to the multiplication with the data by the following code:<br>tap = tap./norm(tap, 'fro');   (line 195 in the function fr_specest_mtmfft)<br>What is the rationale of dividing through this special norm of the taper itself?<br><br><br>2.)    After calculating the fft, the specrum is scaled (i.e. in the function fr_specest_mtmfft) by:<br><br>dum = dum .* sqrt(2 ./ endnsample);  (line 251)<br><br>Later on, to get to the power spectrum, the abs of the spectrum is taken and squared<br><br>powdum = abs(spectrum(acttap,:,foiind(ifoi),acttboi)) .^2; (line 629 in ft_frequanalysis)<br><br><br><br>This puzzles me, because scanning through the literature, the power spectrum should be given by<br><br>(2*abs(X)^2) ./ (nfft^2)                -> unit: V^2        (X=signal, nfft = number of data points)<br><br>and the PSD by<br><br>(2*abs(X)^2) ./ (nfft*Fs)              -> unit: V^2/Hz (X=signal, nfft = number of data points, Fs=sampling rate)<br><br><br><br>Alternatively, one can get the amplitude spectrum from the power spectrum by taking the square root of the PSD:<br><br>sqrt(PSD)                             -> unit: V/sqrt(Hz)<br><br>which is still different from<br><br>(2*abs(X)) ./ (nfft*Fres)               -> unit: V/Hz ?   (Fres = frequency resolution = Fs/nfft)<br><br><br><br>The result of these equations are different from what comes out of the FieldTrip code.<br><br>So what is the unit of the spectrum in FieldTrip?<br><br>What is the rationale of scaling the complex spectrum by sqrt(2/nfft) ?<br><br>Furthermore, is the unit for the different spectral estimation methods the same? That is, using mtmfft, mtmconvol, wavelet,...?<br><br>It would help me a lot if someone could clarify these points.<br><br>Thanks in advance,<br>Thomas<br><br><br>-----<br>Dr. Thomas Wunderle<br>Ernst Str?ngmann Institute (ESI) for Neuroscience<<a href="http://www.ncbi.nlm.nih.gov/feed/rss.cgi?ChanKey=PubMedNews" target="_blank">http://www.ncbi.nlm.nih.gov/feed/rss.cgi?ChanKey=PubMedNews</a>><br>in Cooperation with Max Planck Society <<a href="http://www.ncbi.nlm.nih.gov/feed/rss.cgi?ChanKey=PubMedNews" target="_blank">http://www.ncbi.nlm.nih.gov/feed/rss.cgi?ChanKey=PubMedNews</a>><br>Deutschordenstrasse 46<br>60528 Frankfurt am Main, Germany<br><a href="http://www.esi-frankfurt.de" target="_blank">www.esi-frankfurt.de</a><<a href="http://www.esi-frankfurt.de/" target="_blank">http://www.esi-frankfurt.de/</a>><br><a href="mailto:thomas.wunderle@esi-frankfurt.de" target="_blank">thomas.wunderle@esi-frankfurt.de</a><mailto:<a href="mailto:thomas.wunderle@esi-frankfurt.de" target="_blank">thomas.wunderle@esi-frankfurt.de</a>><br>Tel:   <a href="tel:%2B49%2069%2096769%20516" value="+496996769516" target="_blank">+49 69 96769 516</a><br>Fax:   <a href="tel:%2B49%2069%2096769%20555" value="+496996769555" target="_blank">+49 69 96769 555</a><br><br>Sitz der Gesellschaft: Frankfurt am Main<br>Registergericht: Amtsgericht Frankfurt - HRB 84266<br>Gesch?ftsf?hrer: Prof. Dr. Pascal Fries<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20151020/eebaf460/attachment-0001.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20151020/eebaf460/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 21 Oct 2015 10:30:07 +0200<br>From: Grazia Di Pisa <<a href="mailto:g.dipisa@gmail.com" target="_blank">g.dipisa@gmail.com</a>><span class=""><br>To: <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br>Subject: [FieldTrip] Interpolation and ft_channelrepair<br></span>Message-ID: <<a href="mailto:A46541FB-BC67-44E7-A9CD-541FB39B7C54@gmail.com" target="_blank">A46541FB-BC67-44E7-A9CD-541FB39B7C54@gmail.com</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Dear all,<br><br>I?m trying to do interpolation to repair some bad channels, but I?m getting the error below.<br>I've read the ft_fetch_sens help but I don?t understand how I should specify the electrodes.<div><div class="h5"><br><br>Is there a file I should upload or am I missing something in my code? <br>Any help or hint is very much appreciated!<br><br>thanks in advance,<br>~ grazia<br><br><br>//<br>Error using ft_fetch_sens (line 183)<br>no electrodes or gradiometers specified.<br><br>Error in ft_channelrepair (line 115)<br> sens = ft_fetch_sens(cfg, data);<br><br>Error in new_analyse_GDP (line 42)<br>ft_channelrepair(cfg, data)<br>//<br><br>This is my code:<br><br>15 <span style="white-space:pre-wrap"> </span>cfg = [];<br>16 <span style="white-space:pre-wrap">  </span>cfg_neighb       <span style="white-space:pre-wrap"> </span>= [];<br>17<span style="white-space:pre-wrap">       </span>cfg_neighb.method<span style="white-space:pre-wrap">       </span>= 'triangulation'; <br>18    cfg.senstype      <span style="white-space:pre-wrap">   </span>= 'EEG';<br>19    cfg_neighb.layout <span style="white-space:pre-wrap">   </span>= 'biosemi64.lay';<br>20    neighbours        <span style="white-space:pre-wrap">  </span>= ft_prepare_neighbours(cfg_neighb);<br>21    <br>22    cfg.neighbours    <span style="white-space:pre-wrap"> </span>= neighbours;<br>23    cfg.channel       <span style="white-space:pre-wrap">        </span>= {'Fp1', 'Fp2', 'AF7', 'AF3','AF8','F7','F5','FT9',}; <br>24    cfg.feedback     <span style="white-space:pre-wrap"> </span> = 'yes';<br>25    cfg.layout <span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap">        </span>= 'biosemi64.lay';<br>26    lay <span style="white-space:pre-wrap">       </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= ft_prepare_layout(cfg);<br>27    <br>28    sens <span style="white-space:pre-wrap">    </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= data;<br>29    sens.type <span style="white-space:pre-wrap">    </span><span style="white-space:pre-wrap">        </span>= 'eeg';<br>30    sens.label<span style="white-space:pre-wrap">   </span><span style="white-space:pre-wrap">        </span>= lay.label;<br>31    sens.chanpos <span style="white-space:pre-wrap">    </span><span style="white-space:pre-wrap">        </span>= lay.pos;<br>32    sens.chanpos(:,3) <span style="white-space:pre-wrap"> </span>= 0;<br>33  <br>34   ft_neighbourplot(cfg, data)<br>35 <br>36    cfg <span style="white-space:pre-wrap">     </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= [];<br>37    cfg.method         <span style="white-space:pre-wrap">     </span>= 'nearest';<br>38    cfg.badchannel     <span style="white-space:pre-wrap">  </span>= {'Fp1', 'Fp2', 'AF7', 'AF3','AF8','F7','F5','FT9'};<br>39    cfg.neighbours    <span style="white-space:pre-wrap">   </span> = neighbours;<br>40    cfg.trials        <span style="white-space:pre-wrap">      </span><span style="white-space:pre-wrap">        </span> = 'all';<br>41     <br>42    ft_channelrepair(cfg, data)<br><br><br><br><br><br><br><br></div></div>------------------------------<br><br>Message: 4<br>Date: Wed, 21 Oct 2015 10:42:03 +0200<br>From: "=?UTF-8?Q?J=C3=B6rn_M._Horschig?=" <<a href="mailto:jorn@artinis.com" target="_blank">jorn@artinis.com</a>><br>To: "'FieldTrip discussion list'" <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>Subject: Re: [FieldTrip] Interpolation and ft_channelrepair<br>Message-ID: <002b01d10bdc$5d377040$17a650c0$@<a href="http://artinis.com" target="_blank">artinis.com</a>><br>Content-Type: text/plain;<span style="white-space:pre-wrap"> </span>charset="UTF-8"<span class=""><br><br>Dear Grazia,<br><br>try adding cfg.sens = sens; before line 42. That will set the sensor definition so that ft_channelrepair knows the location of your channels, which is otherwise not obvious.<br><br>Best,<br></span>J?rn<br><br>--<br><br>J?rn M. Horschig, PhD, Software Engineer<span class=""><br>Artinis Medical Systems  |  <a href="tel:%2B31%20481%20350%20980" value="+31481350980" target="_blank">+31 481 350 980</a> <br><br></span><blockquote type="cite"><span class="">-----Original Message-----<br>From: <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-" target="_blank">fieldtrip-</a><br><a href="mailto:bounces@science.ru.nl" target="_blank">bounces@science.ru.nl</a>] On Behalf Of Grazia Di Pisa<br>Sent: Wednesday, October 21, 2015 10:30 AM<br>To: <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br>Subject: [FieldTrip] Interpolation and ft_channelrepair<br><br>Dear all,<br><br></span>I?m trying to do interpolation to repair some bad channels, but I?m getting<br>the error below.<br>I've read the ft_fetch_sens help but I don?t understand how I should specify<div><div class="h5"><br>the electrodes.<br><br>Is there a file I should upload or am I missing something in my code?<br>Any help or hint is very much appreciated!<br><br>thanks in advance,<br>~ grazia<br><br><br>//<br>Error using ft_fetch_sens (line 183)<br>no electrodes or gradiometers specified.<br><br>Error in ft_channelrepair (line 115)<br> sens = ft_fetch_sens(cfg, data);<br><br>Error in new_analyse_GDP (line 42)<br>ft_channelrepair(cfg, data)<br>//<br><br>This is my code:<br><br>15 <span style="white-space:pre-wrap">       </span>cfg = [];<br>16 <span style="white-space:pre-wrap">  </span>cfg_neighb       <span style="white-space:pre-wrap"> </span>= [];<br>17<span style="white-space:pre-wrap">       </span>cfg_neighb.method<span style="white-space:pre-wrap">       </span>= 'triangulation';<br>18    cfg.senstype      <span style="white-space:pre-wrap">    </span>= 'EEG';<br>19    cfg_neighb.layout <span style="white-space:pre-wrap">   </span>= 'biosemi64.lay';<br>20    neighbours        <span style="white-space:pre-wrap">  </span>= ft_prepare_neighbours(cfg_neighb);<br>21<br>22    cfg.neighbours    <span style="white-space:pre-wrap">        </span>= neighbours;<br>23    cfg.channel       <span style="white-space:pre-wrap">        </span>= {'Fp1', 'Fp2', 'AF7', 'AF3','AF8','F7','F5','FT9',};<br>24    cfg.feedback     <span style="white-space:pre-wrap">  </span> = 'yes';<br>25    cfg.layout <span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap">        </span>= 'biosemi64.lay';<br>26    lay <span style="white-space:pre-wrap">       </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= ft_prepare_layout(cfg);<br>27<br>28    sens <span style="white-space:pre-wrap">   </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= data;<br>29    sens.type <span style="white-space:pre-wrap">    </span><span style="white-space:pre-wrap">        </span>= 'eeg';<br>30    sens.label<span style="white-space:pre-wrap">   </span><span style="white-space:pre-wrap">        </span>= lay.label;<br>31    sens.chanpos <span style="white-space:pre-wrap">    </span><span style="white-space:pre-wrap">        </span>= lay.pos;<br>32    sens.chanpos(:,3) <span style="white-space:pre-wrap"> </span>= 0;<br>33<br>34   ft_neighbourplot(cfg, data)<br>35<br>36    cfg <span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span><span style="white-space:pre-wrap">        </span>= [];<br>37    cfg.method         <span style="white-space:pre-wrap">     </span>= 'nearest';<br>38    cfg.badchannel     <span style="white-space:pre-wrap">  </span>= {'Fp1', 'Fp2', 'AF7', 'AF3','AF8','F7','F5','FT9'};<br>39    cfg.neighbours    <span style="white-space:pre-wrap">   </span> = neighbours;<br>40    cfg.trials        <span style="white-space:pre-wrap">      </span><span style="white-space:pre-wrap">        </span> = 'all';<br>41<br>42    ft_channelrepair(cfg, data)<br><br><br><br><br><br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">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></div></div></blockquote><br><br><br><br>------------------------------<span class=""><br><br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">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></span>End of fieldtrip Digest, Vol 59, Issue 17<br>*****************************************<br></div></blockquote></div><br></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>