<div dir="ltr">Dear Sonia,<div><br></div><div><div>> There should be no need to reject bad epoch, since we will be removing bad ICA components right? This should give us artifacts free epochs</div></div><div><br></div><div>Rejecting/correcting bad chunk of time-series data is one thing, and rejecting artifact subspace is another. In theory, performing the former and run ICA will increase quality of decomposition (especially for normal informax; AMICA has its own datapoint rejection function). This is because such window rejection increases data stationarity (i.e. probability distribution function of one part of data is similar to that of other part of data). So you should still clean the time-series data before ICA.</div><div><br></div><div>Very good point!</div><div><br></div><div>Makoto</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 30, 2017 at 11:42 PM, Dr. Sonia Baloni <span dir="ltr"><<a href="mailto:sbaloni@cbcs.ac.in" target="_blank">sbaloni@cbcs.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Dear Makoto, <div> Thanks a lot for the information, although that creates one more doubt for me:</div><span class="gmail-"><div><br></div><div><blockquote type="cite"><div dir="ltr">Yes. As long as ICA detects data rank correctly, you don't need to do anything. However, sometimes it fails for unknown reason, so it's safer to explicitly use the data rank if you know it (how many channels you interpolated etc.) But I don't do the second ICA these days though, it usually makes little to no difference if your first ICA is good enough. If you want to drastically change the ICA results, you should reject 30-50% of data!<br></div></blockquote><br></div></span><div>If first ICA is good enough and second ICA is not required then:</div><div> There should be no need to reject bad epoch, since we will be removing bad ICA components right? This should give us artifacts free epochs</div><div><br></div><div>Best</div><span class="gmail-HOEnZb"><font color="#888888"><div>Sonia</div></font></span><div><div class="gmail-h5"><div><br></div><div><br></div><div><br><div><blockquote type="cite"><div>On 01-Jul-2017, at 06:50, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> wrote:</div><br class="gmail-m_7762598094458136008Apple-interchange-newline"><div><div dir="ltr">Dear Sonia,<br><br>Sorry for belated response. To add some info to Isaiah's nice reply,<br><br>> 1. So if we are performing two ICAs, we should interpolate these channels after second ICA?<br><br>Yes. As long as ICA detects data rank correctly, you don't need to do anything. However, sometimes it fails for unknown reason, so it's safer to explicitly use the data rank if you know it (how many channels you interpolated etc.) But I don't do the second ICA these days though, it usually makes little to no difference if your first ICA is good enough. If you want to drastically change the ICA results, you should reject 30-50% of data!<br><br>> 2. I assume rank of the data (used in ICA analysis) would be equivalent to the number of channels in data after running clean line function.<br><br>If some of your channels were bridged, you have less rank than the number of channels.<br><br>> If there are for example 128 channels with which data was collected and 10 channels were removed with clean line function then the rank of the data would be 118. If we now want to run ICA on this data do we need to add “ ‘pca’,117 “ in command line option - next to ‘extended’, 1 ? as suggested in the tutotrial : <a href="https://sccn.ucsd.edu/wiki/Chapter_09:_Decomposing_Data_Using_ICA" target="_blank">https://sccn.ucsd.edu/wiki/<wbr>Chapter_09:_Decomposing_Data_<wbr>Using_ICA</a>.<br><br>If 128-10, then 'pca', 118 is correct. If 117, one component is wasted (which is trivial in this case).<br><br>Makoto<br><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 4, 2017 at 7:00 AM, Isaiah Innis <span dir="ltr"><<a href="mailto:isainnis@indiana.edu" target="_blank">isainnis@indiana.edu</a>></span> wrote:<br><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> Dr. Baloni:</div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">1. Yes, you would interpolate after the second ICA. I personally interpolate as the last pre-processing step. Also </span><span style="font-size:12.8px">I assume you are referring to "clean raw data" and not cleanline, as the latter only removes line noise. </span></div><div><br></div><div>2. Yes, your rank would be 128 -10 = 118. If the channels were deleted from the dataset entirely ICA should detect this and run fine without additional options. If not then you should use the 'pca' command. Are you average referencing your data before ICA? In that case your rank would be 117 (at least as I understand it - someone on the list please correct me if this is inaccurate), otherwise it would be the number of channels remaining = 118. </div><div><br></div><div>Remember that if you remove any components in the 1st ICA the 2nd should be run on the original number of components minus the number removed (e.g. 117-25 = 92).</div><div><br></div><div><br></div><div>Thank you, </div><div><br></div><span style="font-size:12.8px">On Thu, Mar 30, 2017 at 6:42 AM, Dr. Sonia Baloni </span><span dir="ltr" style="font-size:12.8px"><<a href="mailto:sbaloni@cbcs.ac.in" target="_blank">sbaloni@cbcs.ac.in</a>></span><span style="font-size:12.8px"> wr<wbr>ote:</span><br style="font-size:12.8px"><blockquote class="gmail_quote" style="font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi All,<div><br><div> I am new to EEGlab and trying to work with ICA analysis. I have been reading the eeglab list mails on ICA topic. I have gather few footnotes and few question which I would like to ask:</div><div><br></div><div><br></div><div>1. Cleanline algorithm removes bad channels from the data. Posts in EEGlablist suggests that interpolation should be done after ICA.The tutorial suggests that two ICAs should be performed on the same data-set. So if we are performing two ICAs, we should interpolate these channels after second ICA?</div><div><br></div><div>2. I assume rank of the data (used in ICA analysis) would be equivalent to the number of channels in data after running clean line function. If there are for example 128 channels with which data was collected and 10 channels were removed with clean line function then the rank of the data would be 118. If we now want to run ICA on this data do we need to add “ ‘pca’,117 “ in command line option - next to ‘extended’, 1 ? as suggested in the tutotrial : <a href="https://sccn.ucsd.edu/wiki/Chapter_09:_Decomposing_Data_Using_ICA" target="_blank">https://sccn.ucsd.edu/wiki/C<wbr>hapter_09:_Decomposing_Data_Us<wbr>ing_ICA</a>.</div><div> </div><div><br></div><div>Thanks a lot.</div><div><br></div><div>Best </div><span class="gmail-m_7762598094458136008gmail-m_4970522221476702788gmail-m_-4762118140862609177HOEnZb"><font color="#888888"><div>Sonia</div><div><br></div><div><br></div></font></span></div></div><br>______________________________<wbr>_________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeg<wbr>lab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn<wbr>.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.ucs<wbr>d.edu</a><span class="gmail-m_7762598094458136008gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><span class="gmail-m_7762598094458136008gmail-HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div class="gmail-m_7762598094458136008gmail-m_4970522221476702788gmail_signature"><div dir="ltr">Isaiah Innis<br>Indiana University '13<br>EEG Technician, IUB IRF<br><br></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.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.e<wbr>du</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_7762598094458136008gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div></div>