[Eeglablist] Reject pre-labeled trials inside a script

Arnaud Delorme arno at ucsd.edu
Thu Nov 6 17:57:44 PST 2014


Dear Ana,

Use EEGLAB menus then look at the history (eegh). For example, if your marked trials are 3 and 4, you can use

EEG = pop_rejepoch( EEG, [3 4] ,0);

If you have used the manual rejection tool to mark trials, you may write

EEG = pop_rejepoch( EEG, find(EEG.reject.rejmanual) ,0);

Arno

On Oct 7, 2014, at 4:56 PM, Ana Laura Diez Martini <diezmartini at gmail.com> wrote:

> Hi!
> 
> I would like to know what is the command I have to use to reject pre-labeled trials inside my script, i.e. without having to specify the trials but automatically taking the trials from the previous step (blink rejection). 
> 
> Thank you!!
> _______________________________________________
> 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




More information about the eeglablist mailing list