[FieldTrip] Epoch using events from a different file

Arti Abhishek mailtome.2113 at gmail.com
Wed Sep 25 09:25:54 CEST 2019


Dear fieldtrip community,

I am really stuck on how to use ft_definetrial when the data and events are
in seperate MATLAB strctures (both in fieldtrip format). Please see my
original question below. Any help would be appreciated.

Thanks,
Arti

On Sun, Sep 22, 2019 at 11:44 PM Arti Abhishek <mailtome.2113 at gmail.com>
wrote:

> Dear field trip community,
>
> I am trying to epoch an EEG dataset using events from a different  file
> (ie, events are not present in the EEG file). I have preprocessed the EEG
> and event information separately. The EEG data is in the fieldtript format
> with the following fields;
>
> hdr 1 x1 struct
> label  64 x 1 cell
> time 1 x 1 cell
> trial 1 x 1 cell
>
> I want to epoch the data using the event data (also in fieldtrip
> compatible format) with fields
>
> type, value, sample, offset, duration.
>
> I couldn't find out how to do this. How do I  use ft_definetrial in this
> case? All my attempts haven't worked yet. I could't find any example in the
> website or in the discussion list. An example would be much appreciated.
>
> Kind regards,
> Arti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190925/94875d53/attachment.html>


More information about the fieldtrip mailing list