[Eeglablist] pop_selectevent keeps unwanted epochs

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Sun Nov 16 15:11:11 PST 2014


Dear Nicolas and Moran,

Please post the errors to EEGLAB Bugzilla
https://sccn.ucsd.edu/bugzilla/index.cgi?logout=1

As a workaround, see the following to rename events. In this code, 2049 is
renamed to 8049, 2050 to 8050, and 2051 to 8051.

% rename events
    allEvent = cell2mat({EEG.event.type}');
    idx2049 = find(allEvent==2049); [EEG.event(idx2049).type] = deal(8049);
    idx2050 = find(allEvent==2050); [EEG.event(idx2050).type] = deal(8050);
    idx2051 = find(allEvent==2051); [EEG.event(idx2051).type] = deal(8051);

Makoto

On Fri, Nov 14, 2014 at 7:46 AM, Moran Aharoni <dag.herev at gmail.com> wrote:

> Dear Nicolas and list members,
>
> I have encountered this problem as well, trying to select events
> marked '1', '2', '3', and having event '101' kept in the event list.
> I use EEGLAB 13.3.2 as well and have no blank spaces trailing after my
> event markers either.
>
> Regards,
> Moran
>
> On 13 November 2014 06:11, Nicolas Rene Escoffier
> <nicolas.escoffier at nus.edu.sg> wrote:
> > Dear all,
> >
> > I am using pop_selectevents to select events/epochs, but not all
> unselected
> > events/epoch are removed (when both using command line and gui).
> >
> > I have a series of numerical event types (1-100), and when selecting a
> > single digit event (say '2'), pop_selectevent also selects all events
> whose
> > type start with that digit (in that case 20, 21,22 etc..). This is a
> problem
> > because I want to select a list of single digit events (1,2,3,4) without
> the
> > unwanted epochs.
> >
> > I am using EEGLAB 13.3.2 with default pop_selectevent settings and 'Keep
> > only selected events' set. I tried to input event values in the field, as
> > well use the dropdown event list. Data were imported from a ANT amplifier
> > and epoched right away.
> >
> > I noticed that my event types have trailing blank spaces. I found some
> > mention of that in the list so I removed them with deblank, but this did
> not
> > solve the issue.
> >
> > Have I missed something? Has any of you ever encountered this issue
> before?
> > Any help would be appreciated.
> >
> >
> > Regards,
> > Nicolas
> >
> > ________________________________
> >
> > Important: This email is confidential and may be privileged. If you are
> not
> > the intended recipient, please delete it and notify us immediately; you
> > should not copy or use it for any purpose, nor disclose its contents to
> any
> > other person. 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
> _______________________________________________
> 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/20141116/bf3ce319/attachment.html>


More information about the eeglablist mailing list