[FieldTrip] No trialinfo after epoching

Arti Abhishek mailtome.2113 at gmail.com
Tue Jun 28 04:01:16 CEST 2016


Dear list,

I am following up on my previous question on mussing trial info after I
epoch the data. The fourth column in the data.cfg.trial is present when the
triggers are neumeric. But when the triggers are in string format (as in
EGI system eg. "DIN8"), the fourth column is not present with the following
code. I would really appreciate if someone could suggest a fix.

cfg                     = [];
cfg.dataset             = 'LL1101_20160622_022943.raw';
cfg.trialdef.prestim    = 0.1;
cfg.trialdef.poststim   = 0.5;
cfg.trialdef.eventtype   = 'trigger';
cfg.trialdef.eventvalue  = {'DI14', 'DI16', 'DI18', 'DI22', 'DI24',
'DIN4','DIN6', 'DIN8'};
data               = ft_definetrial(cfg);
LL01_epochs             = ft_redefinetrial(data, LL01_cont);

Thanks,
Arti

On Mon, Jun 27, 2016 at 5:18 PM, Arti Abhishek <mailtome.2113 at gmail.com>
wrote:

> Dear list,
>
> I am trying to analyse EEG data recorded in EGI system. When I used the
> following code to epochs the data, the trialinfo information is missing
> that prevents me to average each trigger seperately. Could anyone suggest a
> fix?
>
> cfg                     = [];
> cfg.dataset             = 'LL1101_20160622_022943.raw';
> cfg.trialdef.prestim    = 0.1;
> cfg.trialdef.poststim   = 0.5;
> cfg.trialdef.eventtype   = 'trigger';
> cfg.trialdef.eventvalue  = {'DI14', 'DI16', 'DI18', 'DI22', 'DI24',
> 'DIN4','DIN6', 'DIN8'};
> data               = ft_definetrial(cfg);
> LL01_epochs             = ft_redefinetrial(data, LL01_cont);
>
> Thanks,
> Arti
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160628/272b283f/attachment-0002.html>


More information about the fieldtrip mailing list