<div dir="ltr">Dear Salim,<div><br></div><div>I don't see anything strange.</div><div>Go back to the data before IC rejection and try dipfit. Does it work? You repeat going back the version of the processed data and at some point it should work. Then compare what's the difference between valid one and invalid one. Something critical happened between them.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 27, 2015 at 3:32 AM, Salim Al-wasity <span dir="ltr"><<a href="mailto:salim_alwasity@yahoo.com" target="_blank">salim_alwasity@yahoo.com</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="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:16px"><div dir="ltr"><span>Hi</span></div><div dir="ltr"><span>This dataset has 38 channels and 30 ICs. After trying the mentioned commands above I got:</span></div><div dir="ltr"><span><br></span></div><div dir="ltr">size(EEG.data)</div><div dir="ltr">ans =<br></div><div dir="ltr"><br></div><div dir="ltr">          38        2094          66</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">size(EEG.icaact)</div><div dir="ltr">ans =</div><div dir="ltr"><br></div><div dir="ltr">          30        2094          66</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">length(EEG.chanlocs)<br></div><div dir="ltr">ans =</div><div dir="ltr"><br></div><div dir="ltr"></div><div dir="ltr">    38</div><div dir="ltr"><br></div><div dir="ltr">When I run Autofit I got:</div><div dir="ltr"><br></div><div dir="ltr">Error using ft_datatype_raw (line 88)</div><div dir="ltr">inconsistent number of channels in trial 1</div><span class=""><div dir="ltr"><br></div><div dir="ltr">Maximum number of iterations reached. Fitting failed</div><div dir="ltr">Transforming electrode coordinates to match head model</div></span><div dir="ltr">the input is component data with 30 components and 38 original channels</div><div dir="ltr">the input is raw data with 38 channels and 66 trials</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Sincerely</div><span class="HOEnZb"><font color="#888888"><div dir="ltr">Salim</div></font></span><div><div class="h5">  <div dir="ltr"><br></div><br><div><br><br></div><div style="display:block"> <div style="font-family:arial,helvetica,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"> <div dir="ltr"> <font face="Arial"> On Thursday, 26 March 2015, 18:09, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> wrote:<br> </font> </div>  <br><br> <div><div><div><div dir="ltr">Try<div><br clear="none"></div><div>size(EEG.data)</div><div>size(EEG.icaact)</div><div>length(EEG.chanlocs)</div><div><br clear="none"></div><div>What do you get?</div><div><br clear="none"></div><div>Makoto</div></div><div><br clear="none"><div><div>On Sat, Mar 21, 2015 at 4:29 AM, Salim Al-wasity <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:salim_alwasity@yahoo.com" target="_blank">salim_alwasity@yahoo.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:16px"><div dir="ltr">Dear Mr. Makoto</div><div dir="ltr">Thanks for your reply.</div><div dir="ltr">I still get the same error message when I modify the 'dipole_fit). I am wondering why EEGLAB says </div><div dir="ltr">(inconsistent number of trials in raw data structure) </div><div dir="ltr">and (the input is component data with 32 components and 44 original channels</div><div dir="ltr">the input is raw data with 44 channels and 1 trials)?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Sincerely</div><span><font color="#888888"></font></span><div dir="ltr">Salim</div><div><div>  <div dir="ltr"> </div><br clear="none"><div><br clear="none"><br clear="none"></div><div style="display:block"> <div style="font-family:arial,helvetica,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"> <div dir="ltr"> <font face="Arial"> On Thursday, 19 March 2015, 18:39, Makoto Miyakoshi <<a rel="nofollow" shape="rect" href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div><div><div><div dir="ltr">Dear Salim,<div><br clear="none"></div><div>Edit 'dipole_fit' line 117 and 119 'maxiter'. These numbers could be x10 and it usually solves the problem.</div><div><br clear="none"></div><div>Makoto</div></div><div><br clear="none"><div>On Fri, Mar 6, 2015 at 6:44 AM, Salim Al-wasity <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:salim_alwasity@yahoo.com" target="_blank">salim_alwasity@yahoo.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" valign="top"><br clear="none"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" valign="top"><div style="font-family:Roboto,sans-serif;color:#7e7d80"><br clear="none"><br clear="none"></div> <div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:16px"><div dir="ltr">Dears</div><div dir="ltr">I got the following error when I tried to estimate the Dipoles of a dataset after removing some components.</div><div dir="ltr">I tried different versions of EEGLAB (v13.3.2 and v13.4.4)</div><div dir="ltr"><br clear="none"></div><div dir="ltr">The error message is:</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Error using ft_datatype_raw (line 85)</div><div dir="ltr">inconsistent number of trials in raw data structure</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Maximum number of iterations reached. Fitting failed</div><div dir="ltr">Transforming electrode coordinates to match head model</div><div dir="ltr">the input is component data with 32 components and 44 original channels</div><div dir="ltr">the input is raw data with 44 channels and 1 trials</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Sincerely</div><span><font color="#888888"></font></span><div dir="ltr">Salim</div><div dir="ltr"><br clear="none"></div></div></td></tr></tbody></table></td></tr></tbody></table></div><br clear="none">_______________________________________________<br clear="none">
Eeglablist page: <a rel="nofollow" shape="rect" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br clear="none">
To unsubscribe, send an empty email to <a rel="nofollow" shape="rect" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br clear="none">
For digest mode, send an email with the subject "set digest mime" to <a rel="nofollow" shape="rect" href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div><div dir="ltr">Makoto Miyakoshi<br clear="none">Swartz Center for Computational Neuroscience<br clear="none">Institute for Neural Computation, University of California San Diego<br clear="none"></div></div>
</div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div></div></blockquote></div></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div><div dir="ltr">Makoto Miyakoshi<br clear="none">Swartz Center for Computational Neuroscience<br clear="none">Institute for Neural Computation, University of California San Diego<br clear="none"></div></div>
</div></div></div><br><br></div>  </div> </div>  </div></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>