[Eeglablist] pop_autorej

Arnaud Delorme arno at salk.edu
Fri Feb 14 21:59:48 PST 2014


Yes, this function only works for data epochs. I think this might be the issue.
It is greyed out in case you have continuous data. We will update the function header to make it clearer.
Thanks,

Arno

On Feb 5, 2014, at 3:24 PM, Tyler Grummett <tyler.grummett at flinders.edu.au> wrote:

> ​Dear Arnaud, Derrick and Makoto,
> 
> With regard to the pop_autorej error.
> 
> If it helps, I think the issue may be how elec (line 95) is being allocated space.
> On line 90 ( sweeps = size(signal(1,:),2)/pnts​), when it is handling spectra data, pnts = 202 (for me) and when it is handling EEG data, pnts = 20212 ( equal to size( signal( 1, :), 2)).
> 
> So maybe dividing by pnts on line 90 may not be the correct method when handling EEG data.
> 
> Hopefully that may help.
> 
> Kind regards,
> 
> Tyler.
> 
> *************************
> 
> Tyler Grummett ( BBSc, BSc(Hons I))
> PhD Candidate
> Brain Signals Laboratory
> Flinders University
> Rm 5A301
> Ext 66124
> From: Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
> Sent: Friday, 24 January 2014 1:10 PM
> To: Tyler Grummett; Arnaud Delorme; Derrick
> Cc: eeglablist at sccn.ucsd.edu
> Subject: Re: [Eeglablist] pop_autorej
>  
> Dear Arno and Derrick,
> 
> When I used 'reject channel epochs with all methods' yesterday from GUI it failed to reject the marked epochs. Most likely Tyler's report is the same thing. I think I've seen this for years (!)... Could you check it?
> 
> Makoto
> 
> 
> 2014/1/22 Tyler Grummett <tyler.grummett at flinders.edu.au>
> To all on the eeglab mailing list,
> 
> I am having an issue with the pop_autorej function where it crashes with the following error message:
> 
> Subscripted assignment dimension mismatch.
> 
> Error in eegthresh (line 108)
> elec(indexe,:) = ( sigmin < negthresh(indexe) ) | ( sigmax > posthresh(indexe) );
> 
> Error in pop_eegthresh (line 154)
> [Itmp Irej NS Erejtmp] = eegthresh( EEG.data, EEG.pnts, elecrange, negthresh, posthresh, [EEG.xmin
>     EEG.xmax], starttime, endtime);
> 
> Error in pop_autorej (line 138)
>     EEG =
>     pop_eegthresh(EEG,1,[1:size(EEG.data,1)],-opt.threshold,opt.threshold,EEG.xmin,EEG.xmax,0,0);
> 
> I tried the pop_rejcont function (which also uses the eegthresh function) and it ran smoothly. However,
> as my supervisor pointed out, this uses spectra data. Does anyone know how to get this function to
> operate correctly?
> 
> Kind regards,
> 
> 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/20140214/8c5c45be/attachment.html>


More information about the eeglablist mailing list