[FieldTrip] Selecting Trials from Blocks

Ausaf Bari ausafb at gmail.com
Tue Feb 10 13:54:16 CET 2015


Thanks Raquel. I didn't realize I could recode by adding that column. I'll
try it. Thanks!

On Tuesday, February 10, 2015, Raquel Bibi <bibi.raquel at gmail.com> wrote:

> Hi Ausaf,
> 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.
> Best,
>
> Raquel
>
> On Tue, Feb 10, 2015 at 12:10 AM, Ausaf Bari <ausafb at gmail.com
> <javascript:_e(%7B%7D,'cvml','ausafb at gmail.com');>> wrote:
>
>> 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?
>>
>> 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.
>>
>> -AB
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> <javascript:_e(%7B%7D,'cvml','fieldtrip at donders.ru.nl');>
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>

-- 
Ausaf A. Bari MD PhD
Clinical Fellow
Functional Neurosurgery
Toronto Western Hospital
University of Toronto

Phone: 647-624-1929
Email: ausafb at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150210/81df1ebc/attachment-0002.html>


More information about the fieldtrip mailing list