[Eeglablist] "inconsistent number of samples in trial 1" error in DIPFIT

Nikola Valchev nikola.valchev.umcg at gmail.com
Sat Sep 19 11:45:55 PDT 2015

That worked for me. Thank you!


By chance do you have an idea how to use the output from the dipfit function into CIAC?



Nikola Valchev


From: eeglablist-bounces at sccn.ucsd.edu [mailto:eeglablist-bounces at sccn.ucsd.edu] On Behalf Of Laura Frolich
Sent: 18 September 2015 21:10
To: Nikola Vukovic
Subject: Re: [Eeglablist] "inconsistent number of samples in trial 1" error in DIPFIT


Dear Nikola,

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.




On Fri, Sep 18, 2015 at 2:22 PM, Nikola Vukovic <vukovicnikola at gmail.com> wrote:

Dear EEGLab community, 


I'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:


"inconsistent number of samples in trial 1,


(Error occurred in function ft_datatype_raw() at line 87)"


I haven't encountered this error before, using a slightly older version of eeglab. I'm currently using MATLAB R2014b and EEGLAB v13.4.4b.


Any help in solving this problem would be very much appreciated...



Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150919/2d50381f/attachment-0001.html>

More information about the eeglablist mailing list