[Eeglablist] right 'nopoint' option for pop_select?

Mauricio Aspé Sánchez mauricio.aspe.s at gmail.com
Tue Nov 19 03:29:57 PST 2013


yes, I was using the version 10.2.2.b, but it works perfectly changing the
numerical labels of event.types to strings.
Thanks a lot.

All the best,
Mauricio.


2013/11/7 Arnaud Delorme <arnodelorme at gmail.com>

> Dear Mauricio,
>
> seems to me like you are using an outdated version of EEGLAB. Let us know
> if the problem persist with a more recent version.
> Best,
>
> Arno
>
> On Oct 22, 2013, at 6:16 AM, Andreas Widmann <widmann at uni-leipzig.de>
> wrote:
>
> > Hi Mauricio,
> >
> >> could you paste the rest of the error message?
> >
> > The rest of the error message is essential :) The problem is not in
> pop_select or your syntax, there appears to be a problem with the event
> structure in your dataset. Your dataset does not pass eeg_checkset, which
> is used by pop_select/eeg_eegrej to check conformity of the dataset.
> >
> > Do you possibly have numerical values in the type field of your event
> structure (should be strings)? Probably, easiest is to check your dataset
> directly with eeg_checkset to find the source of the problem. Provide an as
> small as possible sample file (download link) demonstrating the problem if
> you can not solve it.
> >
> > Best,
> > Andreas
> >
> > Am 21.10.2013 um 17:11 schrieb Mauricio Aspé Sánchez <
> mauricio.aspe.s at gmail.com>:
> >
> >> Hi!
> >> My EEG.pnts = 3941376
> >>
> >> I use the command EEG = pop_select(EEG, 'point', boundaries);
> >> where boundaries is the following matrix:
> >>
> >> boundaries =
> >>
> >>       88429     1449766
> >>     1499582     2645319
> >>     2684203     3835754
> >>
> >> This way, I wanna retain the data points in the ranges [88429, 1449766]
> [1499582, 2645319] and [2684203, 3835754], but EEGLab reply with:
> >>
> >> Error using cell/strmatch (line 20)
> >> Requires character array or cell array of strings as inputs.
> >>
> >> Error in eeg_checkset (line 344)
> >>                        boundsInd = strmatch('boundary', { tmpevent.type
> });
> >>
> >> Error in eeg_eegrej (line 102)
> >>    EEG = eeg_checkset(EEG, 'eventconsistency');
> >>
> >> Error in pop_select (line 496)
> >>        EEG = eeg_eegrej(EEG, points);
> >>
> >> Cannot figure out what I'm doing bad!!!
> >>
> >> All the best,
> >> Mauricio.
> >>
> >>
> >> 2013/10/18 Mikołaj Magnuski <imponderabilion at gmail.com>
> >> Hey Mauricio,
> >>
> >> could you paste the rest of the error message? Then someone could take
> a look at what happens in the function that calls strmatch.
> >> It may be for example that the caller function looks for 'boundary'
> events but your EEG.event.type field includes also numerical values.
> >>
> >> 18 paź 2013 19:43 "Mauricio Aspé Sánchez" <mauricio.aspe.s at gmail.com>
> napisał(a):
> >>
> >> hey guys, I'm pretty sure that it's not about the comma, colon or
> brackets.
> >> I can do it in this way:
> >>
> >> EEG = eeg_eegrej(EEG, boundaries);
> >>
> >> where boundaries is a matrix with the segments' boundaries that I wanna
> extract. Works fine, but I don't know why pop_select doesn't work.
> >>
> >> All the best,
> >> Mauricio.
> >>
> >>
> >> 2013/10/17 Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
> >> Dear Mauricio,
> >>
> >> My initial guess: Try without comma inside the square brackets, namely
> >> out=pop_select(EEG, 'nopoint', [1 88007])
> >>
> >> Makoto
> >>
> >> 2013/10/15 Mauricio Aspé Sánchez <mauricio.aspe.s at gmail.com>
> >> Hey guys, can somebody help me in how to use the pop_select function
> from the command line?
> >>
> >> I wanna delete a range of data from all the channels.
> >> If I write, for instance:
> >> out=pop_select(EEG, 'nopoint', [1,88007])
> >>
> >> I get the error
> >> Error using cell/strmatch (line 20)
> >> Requires character array or cell array of strings as inputs.
> >>
> >> When I do that from the GUI is the same.
> >> What is the correct format for the 'nopoint' options?
> >>
> >> All the best and thanks a lot,
> >> Mauricio.
> >> --
> >> Mauricio A. Aspé Sánchez.
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> >>
> >> --
> >> Mauricio A. Aspé Sánchez.
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> >>
> >> --
> >> Mauricio A. Aspé Sánchez.
> >>
> >> _______________________________________________
> >> 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
>
>


-- 
Mauricio A. Aspé Sánchez.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20131119/e69a47f2/attachment.html>


More information about the eeglablist mailing list