[Eeglablist] pop_selectevent excludes the first couple of events

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Wed Jul 19 14:48:16 PDT 2023


Dear Sharon,

Sorry for the trouble.
Can you please tell me which version of EEGLAB you are using?

Makoto

On Fri, Jul 14, 2023 at 11:28 AM Sharon Yakim via eeglablist <
eeglablist at sccn.ucsd.edu> wrote:

> Hi EEGLABList,
> I encountered a problem using 'pop_selectevent" to select events by
> indices. The function returns an eeglab instance with missing events. The
> missing events are always the first few events.
> Tracing the issue in the library code, I saw that the problem
> occurs because the function "pop_select" assign negative latency values to
> the first few events, and then later the function "eeg_checkset" delete all
> events with a negative latency and prints:
> "eeg_checkset warning: 1/89 events had out-of-bounds latencies and were
> removed".
>
> How can I overcome this and keep all the events without the first ones
> being excluded?
>
> Thank you,
> Sharon
> _______________________________________________
> 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