<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>This is the script I use. I'm sure there is a more efficient way: <br></div><div><br></div><div dir="ltr">originalEEG = EEG; % copy EEG before clean_raw<br></div><div dir="ltr">EEG = clean_rawdata(EEG, 5, [0.25 0.75], 0.8, 4, 5, 0.5);  % Run clean_raw<br></div><div dir="ltr">Channels_Removed = setdiff ({originalEEG.chanlocs.labels},{EEG.chanlocs.labels}, 'stable');  % Make a variable to show what's different between the original and new channel labels<br></div><div dir="ltr">EEG = pop_interp(EEG, originalEEG.chanlocs, 'spherical');% Interpolate channels removed. <br></div><div dir="ltr"><br></div><div>Hope this helps,</div><div>Dave</div><div><br></div><div dir="ltr"><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 10, 2018 at 1:41 PM Tarik S Bel-Bahar <<a href="mailto:tarikbelbahar@gmail.com">tarikbelbahar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">Hello Anna,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">Best way to find out is to look inside the actual code of the function</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">and find the variables that store that information. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">You may need to add a few lines of code to "store" the chan information for your further use.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">From my understanding the ASR tool doesn't adequately updated the EEG.structure.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">There have been past eeglablist messages that mention the fields in question, try googling them.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)">Once you find a good solution, please consider sharing so that other ASR/eeglab users can benefit.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,255)"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 10, 2018 at 3:19 AM Anna Kasdan <<a href="mailto:avkasdan@gmail.com" target="_blank">avkasdan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><br>I was wondering how you can retrieve the bad channel indices that are identified during ASR clean_rawdata. I tried EEG.etc but this didn’t give me the information I was looking for. <br><br>Also, once these indices have been identified, are these the ones we should use in channel interpolation? <br><br>Thank you!<br><br>Best,<br>Anna Kasdan  <br></div>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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></blockquote></div>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><a name="SignatureSanitizer_SafeHtmlFilter__MailAutoSig"><span><font size="3" face="Calibri" color="#000000">David
Ryan, Ph.D.</font></span></a></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri" color="#000000">Research Health Specialist </font></span></span></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri" color="#000000">Mountain Home VA Health Care System (621)</font></span></span></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri" color="#000000">Auditory Vestibular Research Enhancement Award Program (REAP)
</font></span></span></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri" color="#000000">Research Service</font></span></span></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri" color="#000000">(423)-926-1171 Ext. 7575</font></span></span></p><font size="3" face="Times New Roman" color="#000000">

</font><p style="margin:0in 0in 0pt"><a href="http://www.avreap.research.va.gov/" target="_blank"><span><span style="color:blue;font-size:12pt"><font face="Calibri">www.avreap.research.va.gov</font></span></span></a><span><span style="font-size:12pt"><font face="Calibri" color="#000000"> </font></span></span></p><font size="3" face="Times New Roman">

</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>