<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"><<a href="mailto:preedha@gmail.com" target="_blank">preedha@gmail.com</a>></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,'elec',[1:66],'threshold',5,'norm','on','measure','kurt');<br>
% interpolating the bad channels<br>
EEG = eeg_interp(EEG, [indelec], 'spherical' );<br>
<br>
It identifies the bad channels and removes them but doesn'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>