<div dir="ltr">Dear Nikola and Nikola,<div><br></div><div>It&#39;s great that solution was successfully shared and the problem solved!</div><div>If you don&#39;t mind, we would greatly appreciate if you could file the case to EEGLAB bugzilla. <a href="https://sccn.ucsd.edu/bugzilla/enter_bug.cgi">https://sccn.ucsd.edu/bugzilla/enter_bug.cgi</a></div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 6:17 AM, Nikola Vukovic <span dir="ltr">&lt;<a href="mailto:vukovicnikola@gmail.com" target="_blank">vukovicnikola@gmail.com</a>&gt;</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">Thank you for that! Interestingly, both of these were already checked in the GUI, but now that I have unchecked and rechecked them, the DIPFIT procedure works! Perhaps something for the developers to check? (it replicates on different computers, so the startup settings are wrong by default).<span class="HOEnZb"><font color="#888888"><div><br></div><div>Nikola</div></font></span><div><div class="h5"><div><br></div><div><br><div><blockquote type="cite"><div>On 21 Sep 2015, at 4:12 pm, Nikola Valchev &lt;<a href="mailto:nikola.valchev.umcg@gmail.com" target="_blank">nikola.valchev.umcg@gmail.com</a>&gt; wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi,<span> </span><u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">You can do it either from the command line or from the GUI.<span> </span><u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Cmd:<span> </span><u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">pop_editoptions()<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">from GUI:<span> </span><u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">File &gt; Memory and other options &gt; Check both boxes of the ICA options.<span> </span><u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hope it works<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Nikola<u></u><u></u></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></div><div><div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"><span> </span>Nikola Vukovic [<a href="mailto:vukovicnikola@gmail.com" target="_blank">mailto:vukovicnikola@gmail.com</a>]<span> </span><br><b>Sent:</b><span> </span>21 September 2015 13:02<br><b>To:</b><span> </span>Nikola Valchev<br><b>Cc:</b><span> </span>Laura Frolich; EEGLAB List<br><b>Subject:</b><span> </span>Re: [Eeglablist] &quot;inconsistent number of samples in trial 1&quot; error in DIPFIT<u></u><u></u></span></div></div></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Hi Nikola and Laura,<u></u><u></u></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Could you tell me how exactly you solved the problem? Is this something that needs to be done via the command line? Because I was just calling the functions through the EEGLAB GUI.<u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">N<u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div><div><blockquote style="margin-top:5pt;margin-bottom:5pt" type="cite"><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">On 19 Sep 2015, at 9:45 pm, Nikola Valchev &lt;<a href="mailto:nikola.valchev.umcg@gmail.com" style="color:purple;text-decoration:underline" target="_blank">nikola.valchev.umcg@gmail.com</a>&gt; wrote:<u></u><u></u></div></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><u></u> <u></u></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">That worked for me. Thank you!</span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">By chance do you have an idea how to use the output from the dipfit function into CIAC?</span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Best</span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Nikola Valchev</span><u></u><u></u></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></div></div><div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm"><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> </span></span><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"><a href="mailto:eeglablist-bounces@sccn.ucsd.edu" style="color:purple;text-decoration:underline" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a><span> </span>[<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" style="color:purple;text-decoration:underline" target="_blank">mailto:eeglablist-bounces@sccn.ucsd.edu</a>]<span> </span><b>On Behalf Of<span> </span></b>Laura Frolich<br><b>Sent:</b><span> </span>18 September 2015 21:10<br><b>To:</b><span> </span>Nikola Vukovic<br><b>Cc:</b><span> </span>EEGLAB List<br><b>Subject:</b><span> </span>Re: [Eeglablist] &quot;inconsistent number of samples in trial 1&quot; error in DIPFIT</span><u></u><u></u></div></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div><div><div><div><div><p class="MsoNormal" style="margin:0cm 0cm 12pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Dear Nikola,<u></u><u></u></p></div><p class="MsoNormal" style="margin:0cm 0cm 12pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">I have experienced this problem. For me, it occurred when the EEGLab data struct was converted to the FieldTrip format if the icaact field (EEG.icaact) was empty when the function eeglab2fieldtrip was called. Even if the field was not empty when starting DIPFIT, the .icaact can be set to [] by eeg_checkset if the option option_computeica is false. For me the problem was fixed by making sure that option_computeica was set to true and making sure that EEG.icaact was not empty when DIPFIT was started. I hope this helps.<u></u><u></u></p></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Best,<u></u><u></u></div></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Laura<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">On Fri, Sep 18, 2015 at 2:22 PM, Nikola Vukovic &lt;<a href="mailto:vukovicnikola@gmail.com" style="color:purple;text-decoration:underline" target="_blank"><span style="color:purple">vukovicnikola@gmail.com</span></a>&gt; wrote:<u></u><u></u></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Dear EEGLab community,<span> </span><u></u><u></u></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">I&#39;ve encountered a strange error when, having computed ICA on my dataset, I attempt to locate component dipoles. I have replicated the same error in several different datasets, with different number of channels, different pre-processing parameters, etc. The error given is:<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">&quot;inconsistent number of samples in trial 1,<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">(Error occurred in function ft_datatype_raw() at line 87)&quot;<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">I haven&#39;t encountered this error before, using a slightly older version of eeglab. I&#39;m currently using MATLAB R2014b and EEGLAB v13.4.4b.<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"> <u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">Any help in solving this problem would be very much appreciated...<u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="color:rgb(136,136,136)"> </span><u></u><u></u></div></div></div><div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="color:rgb(136,136,136)">Nikola</span><u></u><u></u></div></div></div></div><div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><br>_______________________________________________<br>Eeglablist page:<span> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" style="color:purple;text-decoration:underline" target="_blank"><span style="color:purple">http://sccn.ucsd.edu/eeglab/eeglabmail.html</span></a><br>To unsubscribe, send an empty email to<span> </span><a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" style="color:purple;text-decoration:underline" target="_blank"><span style="color:purple">eeglablist-unsubscribe@sccn.ucsd.edu</span></a><br>For digest mode, send an email with the subject &quot;set digest mime&quot; to<span> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu" style="color:purple;text-decoration:underline" target="_blank"><span style="color:purple">eeglablist-request@sccn.ucsd.edu</span></a></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br></div></div></div></div><br>_______________________________________________<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">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject &quot;set digest mime&quot; 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><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>