<html><head></head><body bgcolor='#FFFFFF' style='font-size:12px;background-color:#FFFFFF;font-family:Verdana, Arial, sans-serif;'>Hi davide,<br/><br/>I guess in such a case you would have to write your own trial function. However, offset values larger than 0 mean, that the stimulus occured before you start your piece of data - is that really what you wanted ?<br/><br/>Michael<br/><br/><br/><blockquote style="border-left: 2px solid blue; margin-left: 5px; padding-left: 5px; padding-top: 5px;"><hr/><b>Von:</b> "Davide Rivolta" <drivolta81@gmail.com><br/><b>Gesendet:</b> Aug 4, 2011 2:44:08 PM<br/><b>An:</b> fieldtrip@donders.ru.nl<br/><b>Betreff:</b> [FieldTrip] Potential bug in trl<br/><br/><div>Dear all,</div><div> </div><div>I have noticed that the trial definition works well when begsample, ensample and offset have fixed values.</div><div> </div><div>I have however a specific trialfunction, where each trial has a different lenght.</div><div> </div><div>This works well when you specify a fixed offset, however, when even the offset has to change for each trial, Fieldtrip reports values until 0. It ignores time after 0.</div><div> </div><div> </div><div>Might it be a bug?</div><div> </div><div>Thanks,</div><div> </div><div>Davide</div></blockquote></body></html>