<div dir="ltr">Dear Preedha,<div><br></div><div>You should not run pop_rejchan. Just run eeg_interp and [indelec] should be the channel indices you want to interpolate.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 6:32 PM, Preedha Gangadharan <span dir="ltr">&lt;<a href="mailto:preedha@gmail.com" target="_blank">preedha@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div>Dear Makoto,<br>
<br>
I used the following commands to remove bad channels and interpolate:<br>
<br>
% rejecting electrodes BAD channels<br>
[EEG,indelec] =<br>
pop_rejchan(EEG,&#39;elec&#39;,[1:66],&#39;threshold&#39;,5,&#39;norm&#39;,&#39;on&#39;,&#39;measure&#39;,&#39;kurt&#39;);<br>
% interpolating the bad channels<br>
EEG = eeg_interp(EEG, [indelec], &#39;spherical&#39; );<br>
<br>
It identifies the bad channels and removes them but doesn&#39;t interpolate. Do<br>
you have any suggestions to fix this?<br>
<br>
Thanks in advance.<br>
<br>
Sincerely,<br>
Preedha<br>
</div></div></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>