Thanks Raquel. I didn't realize I could recode by adding that column. I'll try it. Thanks!<br><br>On Tuesday, February 10, 2015, Raquel Bibi <<a href="mailto:bibi.raquel@gmail.com">bibi.raquel@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Ausaf,</div><div>Have you tried to read all EEG events as usual?  You then can compare the tri or trialinfo sample value to your condition values. This information could then be stored  in a new column of data in the data.trl structure.  </div><div>Best,</div><div><br></div><div>Raquel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 12:10 AM, Ausaf Bari <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','ausafb@gmail.com');" target="_blank">ausafb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have large .cnt (neuroscan) files with trials under different conditions. The trials are marked by triggers but the conditions are not marked. I have my own record of timestamps for the start of each condition block. How do cut out a block (e.g. 30 minute block) and then subsequently break that into trials based on triggers?<div><br></div><div>I know you can use ft_redefinetrial to choose a section based on a begsample and endsample but I'm having trouble using the resulting data structure as an input to ft_definetrial.<span><font color="#888888"><br><div><br></div><div>-AB<br><div><div><br></div>
</div></div></font></span></div></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','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>
</blockquote><br><br>-- <br>Ausaf A. Bari MD PhD<br>Clinical Fellow<br>Functional Neurosurgery<br>Toronto Western Hospital<br>University of Toronto<br><br>Phone: 647-624-1929<br>Email: <a href="mailto:ausafb@gmail.com">ausafb@gmail.com</a><br>