Return index of rejected trials

Karl Doron karl.doron at GMAIL.COM
Wed Nov 3 00:08:51 CET 2010


Hello,

Is it possible to have ft_artifact_eog (or artifact_zvalue) return the index of any 
rejected trials? I'm looking for it in terms of the index of the input data. 

For example, if my trial definition function creates 100 trials and artifact_eog 
(and zvalue) find that trials 8, 15 and 38 should be rejected, can I output a 
vector=[8 15 38]?

cfg.trl and cfg.trlold give the beginning and end of each rejected trial in terms of 
experiment time.

Thanks for any help.

Karl Doron
PhD candidate
UC, Santa Barbara

---------------------------------------------------------------------------
You are receiving this message because you are subscribed to
the  FieldTrip list. The aim of this list is to facilitate the discussion
between  users of the FieldTrip  toolbox, to share experiences
and to discuss  new ideas for MEG and EEG analysis.
See also http://listserv.surfnet.nl/archives/fieldtrip.html
and http://www.ru.nl/neuroimaging/fieldtrip.
---------------------------------------------------------------------------



More information about the fieldtrip mailing list