[Eeglablist] boolean expression/term?

Scott Makeig smakeig at gmail.com
Wed Sep 27 06:11:10 PDT 2006


Doerte -

To extract epochs based on complicated contingencies, I wrote the
function eeg_context() whose use is covered to some extent in the
EEGLAB tutorial, I believe in the scripting section.

This commandline eeg_ function takes an EEG dataset and returns
information about all events of some 'neighbor' type(s) that precede
or follow events of some 'target' type(s). By applying Matlab find()
to the resulting info, one can collect nearly any sort of epoch subset
to extract into a new dataset.

Best wishes,

Scott Makeig

On 9/21/06, Doerte K. Spring <doerte at spring-west.net> wrote:
> Hi EEGLAB experts,
>
> I was wondering whether eeglab has options for a boolean expression/term
> included. For convenience in data epoching, I'd like to extract epochs for only
> a certain event type which proceds a specified other event. E.g., let's say, I
> have a bunch of events coded with 8, but only a third of them actually occur
> together with another event (event code 11). How could I extract the epoch for
> those 8-11 combination only without epoching all events coded with 8?
> At the moment, I only know about a work around solution, which would include the
> epochs for all of the 8s and then scrolling through all extracted epochs to
> exclude the superfluous ones.
> It would be really great, if eeglab has a possibility to just say I wanne have
> all 8 proceding a 10.
>
> Many thanks in advance,
>
> Doerte
>
>
> _______________________________________________
> eeglablist mailing list eeglablist 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
>
>



More information about the eeglablist mailing list