<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="mailto: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 class="HOEnZb"><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="mailto:fieldtrip@donders.ru.nl">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>