<div dir="ltr">Ilana - <div><br></div><div>Since your derived bipolar channels are all still linear sums of EEG sources, ICA will separate the data into the same sources as for the original data.  However, their projections to the bipolar channels will be computed by ICA, not the projections to the original channels. That means that the 'scalp maps' returned by ICA in the columns of 'EEG.icawinv' may not be interpretable as scalp maps (since the different bipolar channels have unknown offsets from each other), and cannot be source localized.</div>
<div><br></div><div>I would suggest decomposing the original data with common reference, then converting to your bipolar montage for whatever purposes you choose.  Using the EEGLAB re-referencing tool to do this should properly convert the ICA decomposition as well. Be sure to use a large enough data matrix for the decomposition. ICA will be learning 64x64 = 4k weights, so the number of time points should best be ~5-30+ times this....</div>
<div><br></div><div>Scott Makeig</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 12:02 AM, Ilana Podlipsky <span dir="ltr"><<a href="mailto:ilana.mlist@gmail.com" target="_blank">ilana.mlist@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">Just to clarify... The data is recorded in referential montage with reference in Cz and then converted to virtual bipolar montage, where each electrode is subtracted from its neighbor along the longitudinal and transverse axis. From 64 referential electrodes this produces 85 (bipolar) channels. <br>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 8:48 AM, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear Llana,<div><br></div><div>I do not have any reference for this. It is hard for me to understand why it would work well. Maybe Jason can step in and enlighten us.</div><div>Best,</div>

<div><br></div><div>Arno</div><div><div><div><br><div><div>On Dec 10, 2013, at 10:45 PM, Ilana Podlipsky <<a href="mailto:ilana.mlist@gmail.com" target="_blank">ilana.mlist@gmail.com</a>> wrote:</div><br>
<blockquote type="cite"><div dir="ltr"><div><div><div><div>Dear Arno,<br><br></div>Thank you for your input.<br></div>Can you elaborate why ICA on bipolar montage is not good? Can you give me a reference for this?<br>From our experience it works quite well and separates well into reasonable components of signal and artifact.<br>


<br></div>Thank you<br></div>Ilana<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 8:23 AM, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear Llana,<div><br></div><div>if ICA detects a rank of 57, then this is probably what you should use.</div>


<div>ICA on bipolar montage will not be informative. ICA will attempt to model each channel reference so that common sources may be projected to all channels in a linear fashion.</div><div>Best,</div><div><br></div><div>

Arno</div>
<div><div><br><div><div>On Nov 24, 2013, at 3:18 AM, Ilana Podlipsky <<a href="mailto:ilana.mlist@gmail.com" target="_blank">ilana.mlist@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">
<div><div><div><div><div>Dear Arno,<br><br></div>Judging by the ICA output in Matlab the solution converges but very very slowly.<br></div>I use bipolar montage, each electrode is referenced to its neighbor. I use 64 electrodes recorded with one reference electrode and convert  it to 85 differential channels off line. ICA detects rank 57 but I changed it manually to 64 since this is the original number of channels, is that correct?<br>



</div>Meanwhile I tried binica on the same computer running Ubuntu, and it runs much faster (in 20 minutes). I would still like to resolve this issue because I'd prefer to work on Windows.<br><br></div>Thanks,<br></div>



Ilana<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 6:59 PM, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Ilana,<br>
<br>
did your ICA solution converge (meaning that the weight difference decrease with time). This might be the issue.<br>
Also, are you using average reference or linked mastoid. In this case, the data matrix rank is the number of channels minus 1. ICA tries to detect this automatically but sometimes fails. You then have to manually reduce the number of dimension by 1 when running ICA. If you have 64 channels, in the edit box for running ICA (where there is already 'extended', 1) you may add 'pca', 63.<br>




<br>
Best,<br>
<br>
Arno<br>
<div><br>
On Nov 12, 2013, at 11:54 PM, Ilana Podlipsky <<a href="mailto:ilana.mlist@gmail.com" target="_blank">ilana.mlist@gmail.com</a>> wrote:<br>
<br>
> Hi All,<br>
><br>
> Since I've recently changed my computer ICA in eeglab runs very very slowly and returns complex numbers.<br>
> On my previous computer, on the same data I ran the same ICA  within an hour or two. On the new computer the same ICA takes more than 24 hours, After 512 steps it returns this message :<br>
><br>
> Sorting components in descending order of mean projected variance ...<br>
> Warning: Matrix is close to singular or badly scaled.<br>
>          Results may be inaccurate. RCOND = 6.956943e-019.<br>
><br>
> When I try to plot the ICA activations I don't see any traces and when I look into the EEG.icaact matrix I see only complex numbers. Tried both runica and binica.<br>
> This has never happen to me with the old computer on the same dataset.<br>
> Both the old and new computer run Win7 64bit, matlab 2008a and eeglab 12. The hardware of the computers is different.<br>
><br>
> What could be the reason for this, and what can ?I do to solve this?<br>
><br>
> Thanks for the help,<br>
> Ilana<br>
</div><div>> _______________________________________________<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>
<br>
</div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></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">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">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>
-- <br>Scott Makeig, Research Scientist and Director, Swartz Center for Computational Neuroscience, Institute for Neural Computation, University of California San Diego, La Jolla CA 92093-0961, <a href="http://sccn.ucsd.edu/~scott" target="_blank">http://sccn.ucsd.edu/~scott</a>
</div>