[FieldTrip] question about to get the numbers of rejected trials

Lei Niu lei.niu at einstein.yu.edu
Mon Jul 22 15:11:42 CEST 2013

Dear Johanna,

Thank you very much for your reply. I have resolved the problem following your suggestions.

From: fieldtrip-bounces at science.ru.nl [fieldtrip-bounces at science.ru.nl] on behalf of Johanna Zumer [johanna.zumer at gmail.com]
Sent: Saturday, July 20, 2013 3:45 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] question about to get the numbers of rejected trials

Dear Lei,

I think that you are asking that you want to run the steps again, with prestim =0.5 but with rejecting the same 10 trials that you already have decided to reject?   If so, the numbers of rejected trials should be inside data_reject.cfg  (or possibly data_reject.cfg.previous).   But note that by including more prestim time, you might also find a need to reject more trials if there is an artifact in the new included prestim time-points.    If you use ft_redefinetrial, I think you only would shift where the time 0.0 is, but not add more data to each trial, so it depends which you want to do.

Best regards,

2013/7/18 Lei Niu <lei.niu at einstein.yu.edu<mailto:lei.niu at einstein.yu.edu>>
Dear Fieldtrippers,

I am new one to use the fieldtrip, and have a question about the rejected trials.
To be simply, let we say:
1) the original data is data_org, one singal trial in 32 channel, with 2 different trigger codes and 100 trials per trigger.
2) I process the data to the data_stimulus, incuding 200 trials. Each trial has prestim = 0.1,
poststim = 1;
3) I do ft_rejectvisual to reject 10 trials, 5 for each trigger. Then I get data_reject, including 190 trials.

Here is the problem. I found the prestim is too short, I want to increase the prestim time to 0.5. How can I get the numbers of rejected 10 trials to do ft_redefinetrial?

Lei Niu
Albert Einstein College of Medicine

fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130722/544394f0/attachment-0002.html>

More information about the fieldtrip mailing list