[Eeglablist] pop_autorej error
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Thu May 22 19:05:13 PDT 2014
Dear Tyler,
Sorry for inconvenience.
To help us to identify what's wrong, could you also test if 'rejection with
improbability' also fails with the same data?
Makoto
On Thu, May 22, 2014 at 4:59 PM, Tyler Grummett <
tyler.grummett at flinders.edu.au> wrote:
> Hello eeglabers,
>
>
> When trying to run the following line of code:
>
>
> EEG = pop_autorej( EEG, 'threshold', 1000, 'startprob', 5, ...
> 'maxrej', 5, 'eegplot', plot, 'nogui', 'on');
>
> I get the following error:
>
> Running auto-rejection protocol...
> 119 channel selected
> 0/10 trials marked for rejection
> Computing joint probability for channels...
> Warning: Binning failed - could be due to zeroed out channel
> > In realproba at 53
> In jointprob at 87
> In pop_jointprob at 156
> In pop_autorej at 154
> Attempted to access sortbox(NaN); index must be a positive integer or
> logical.
>
> Error in realproba (line 55)
> sortbox(data(index)) = sortbox(data(index))+1;
>
> Error in jointprob (line 87)
> [ dataProba sortbox ] = realproba( signal(rc, :), discret );
>
> Error in pop_jointprob (line 156)
> [ EEG.stats.jpE rejE ] = jointprob( tmpdata, locthresh, EEG.stats.jpE, 1);
>
> Error in pop_autorej (line 154)
> EEG = pop_jointprob(EEG, processdat, complist
> ,opt.startprob,opt.startprob,0,0);%
> calculate component probabilities
>
> I havent got a clue what this could be due to, I dont have any NaNs in
> my data.
>
> Tyler
>
>
>
> *************************
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66124*
>
> _______________________________________________
> 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
>
--
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140522/dd107b1c/attachment.html>
More information about the eeglablist
mailing list