<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 12pt;">Dear Johanna,<br>
<br>
Thank you very much for your reply. I have resolved the problem following your suggestions.<br>
<br>
Thanks,<br>
Lei<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF608912"><font color="#000000" face="Tahoma" size="2"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Johanna Zumer [johanna.zumer@gmail.com]<br>
<b>Sent:</b> Saturday, July 20, 2013 3:45 PM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> Re: [FieldTrip] question about to get the numbers of rejected trials<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Dear Lei,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Johanna</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/7/18 Lei Niu <span dir="ltr"><<a href="mailto:lei.niu@einstein.yu.edu" target="_blank">lei.niu@einstein.yu.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:12pt; font-family:Tahoma">Dear Fieldtrippers,<br>
<br>
I am new one to use the fieldtrip, and have a question about the rejected trials.<br>
To be simply, let we say:<br>
1) the original data is data_org, one singal trial in 32 channel, with 2 different trigger codes and 100 trials per trigger.<br>
2) I process the data to the data_stimulus, incuding 200 trials. Each trial has prestim = 0.1,<br>
poststim = 1;<br>
3) I do ft_rejectvisual to reject 10 trials, 5 for each trigger. Then I get data_reject, including 190 trials.<br>
<br>
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?
<br>
<br>
Thanks,<br>
Lei Niu<br>
Albert Einstein College of Medicine<br>
<br>
<br>
</div>
</div>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>