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

Nikola Valchev nikola.valchev.umcg at gmail.com
Mon Sep 21 06:12:15 PDT 2015


Hi, 

You can do it either from the command line or from the GUI. 

 

Cmd: 

pop_editoptions()

 

from GUI: 

File > Memory and other options > Check both boxes of the ICA options. 

 

 

Hope it works

Nikola

 

 

 

 

 

From: Nikola Vukovic [mailto:vukovicnikola at gmail.com] 
Sent: 21 September 2015 13:02
To: Nikola Valchev
Cc: Laura Frolich; EEGLAB List
Subject: Re: [Eeglablist] "inconsistent number of samples in trial 1" error
in DIPFIT

 

Hi Nikola and Laura,

 

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.

 

N

 

 

On 19 Sep 2015, at 9:45 pm, Nikola Valchev <nikola.valchev.umcg at gmail.com>
wrote:

 

That worked for me. Thank you!

 

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

 

Best

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
Cc: EEGLAB List
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.

Best,

Laura

 

On Fri, Sep 18, 2015 at 2:22 PM, Nikola Vukovic <
<mailto:vukovicnikola at gmail.com> 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...

 

Nikola


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150921/ae875458/attachment.html>


More information about the eeglablist mailing list