[Eeglablist] pop_regica

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Oct 16 20:11:46 PDT 2014


Dear Ramon,

I tend to believe him. Looks like this is the consistency problem in the
channel numbers before and after some channel removel. Could you take a
look at it?

Makoto

On Thu, Oct 16, 2014 at 4:52 PM, Tyler Grummett <
tyler.grummett at flinders.edu.au> wrote:

>  Hello eeglabers,
>
>
>  I was looking for an automatic eye blink removal function and I stumbled
> across pop_regica. However I also stumbled across a bug, but as usual Im
> not 100% sure its a bug.
>
>
>  When I run the function from the GUI, I get the following error:
>
>
>  Index exceeds matrix dimensions.
>
>  Error in pop_regica (line 448)
> tmpdata = reshape( EEG.data(g.chanind,:,:), length(g.chanind),
> EEG.pnts*EEG.trials);
>
>
>  It appears that g.chanind contains the indexes of the EEG channels after
> EOG channels have been removed from it. This means that EEG.data has
> (number of EOG channels)
>
> less channels and indexing into it produces that error.
>
>
>  I took out (g.chanind, :, :) and it worked fine:
>
>
>  tmpdata = reshape( EEG.data, length(g.chanind), EEG.pnts*EEG.trials);
>
> ​Is this a bug and the fix for the bug? Or am I doing something wrong?
>
>  Tyler
>
>
>
>    *************************
>
>  *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>
> _______________________________________________
> 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/20141016/1cee8c3c/attachment.html>


More information about the eeglablist mailing list