Hi Melissa,<br><br>I just skimmed the documentation for <a href="https://sccn.ucsd.edu/svn/software/eeglab/functions/popfunc/eeg_interp.m">https://sccn.ucsd.edu/svn/software/eeglab/functions/popfunc/eeg_interp.m</a> and <a href="https://sccn.ucsd.edu/svn/software/eeglab/functions/popfunc/pop_interp.m">https://sccn.ucsd.edu/svn/software/eeglab/functions/popfunc/pop_interp.m</a> and it looks like they're more or less the same (at least as far as inputs and outputs go), as far as I can tell. pop_interp() is newer. pop_interp() calls eeg_interp(). You could try doing the interpolation both ways and see if there is any difference in the output.<br>
<br>Best,<br>Steve<br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 1:46 PM, Tsuboyama, Melissa <span dir="ltr"><<a href="mailto:mtsuboyama@urmc.rochester.edu">mtsuboyama@urmc.rochester.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:x-small;font-family:Tahoma">
<div>Thanks Steve. I ended up using a command, though it was:</div>
<div>EEG = pop_interp(EEG, eeg_mergelocs(ALLEEG.chanlocs), 'spherical'); Do you know what the difference is between this and what you get using the command line you mentioned?</div>
<div> </div>
<div><font face="tahoma">Melissa</font> </div>
<div dir="ltr"><font color="#000000" face="Tahoma"></font> </div>
<div style="DIRECTION:ltr">
<hr>
<font color="#000000" face="Tahoma"><b>From:</b> Stephen Politzer-Ahles [<a href="mailto:politzerahless@gmail.com" target="_blank">politzerahless@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, April 04, 2012 2:57 PM<br>
<b>To:</b> Tsuboyama, Melissa<br>
<b>Cc:</b> <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
<b>Subject:</b> Re: [Eeglablist] Question regarding use of interpolation function<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>Hi Melissa,<br>
<br>
I generally interpolate using the eeg_interp() command, so I'm not familiar with the GUI version. To use it from the command line, just load up your data and make sure it's the active dataset, then at the command line type:<br>
<br>
EEG = eeg_interp( EEG, [channels] )<br>
<br>
where [channels] is a list of one or more bad channel numbers to interpolate.<br>
Then, save the dataset again.<br>
<br>
Best,<br>
Steve Politzer-Ahles<br>
<br>
<div class="gmail_quote">On Wed, Apr 4, 2012 at 11:01 AM, Tsuboyama, Melissa <span dir="ltr">
<<a href="mailto:mtsuboyama@urmc.rochester.edu" target="_blank">mtsuboyama@urmc.rochester.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:rgb(204,204,204) 1px solid;MARGIN:0pt 0pt 0pt 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY:Tahoma;DIRECTION:ltr;FONT-SIZE:x-small">
<div></div>
<div>
<div style="FONT-FAMILY:Tahoma;DIRECTION:ltr;FONT-SIZE:x-small">
<div></div>
<div dir="ltr"><font color="#000000" face="Tahoma">Hello, </font></div>
<font face="tahoma">
<div dir="ltr"><br>
</div>
</font><font face="tahoma">I am very new at using eeglab.m. I have been having difficulty interpolating the data from each of my datasets (being performed one dataset at a time) for the bad channel I have removed. I have already performed low and high pass
filters (not simultaneously), removed large artifacts and ran ICA twice (with the second time being after rejecting some data but not removing components).
</font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">I have been trying to use the "Interpolate electrodes" automated function from the "Tools" menu. I loaded the original EEG data file and removed VEOG and HEOG and put in appropriate channel locations. This was my second,
reference dataset. When prompted, I click on "Use list of other dataset" which then prompts me to enter "dataset index". I am not sure to what this is referring. Is this the bad channel (using the second dataset as the reference) that I would like to be
interpolated around/for? What is the format I need to use to input the dataset index?
</font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">Thanks!</font></div>
<span><font color="#888888">
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">Melissa</font></div>
</font></span></div>
</div>
</div>
<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">
http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">
eeglablist-request@sccn.ucsd.edu</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Stephen Politzer-Ahles<br>
University of Kansas<br>
Linguistics Department<br>
<a href="http://www.linguistics.ku.edu/" target="_blank">http://www.linguistics.ku.edu/</a><br>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/">http://www.linguistics.ku.edu/</a><br>