[FieldTrip] Selecting Trials from Blocks

Raquel Bibi bibi.raquel at gmail.com
Tue Feb 10 08:43:41 CET 2015


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> 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
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150210/c1601d27/attachment.html>


More information about the fieldtrip mailing list