[FieldTrip] No trialinfo after epoching

Arti Abhishek mailtome.2113 at gmail.com
Mon Jun 27 09:18:34 CEST 2016


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/20160627/76ec1539/attachment.html>


More information about the fieldtrip mailing list