[FieldTrip] shifting events

mubeen afzal mubafzal at hotmail.com
Sat Mar 27 13:54:03 CET 2021


Hi all,
I would like to shift the event values after the ft_readevent function before creating trials.

The trial configuration is not working to give me a -0.5 sec baseline.

cfg.trialdef.prestim doesnt allow -0.5 sec.

cfg.trialdef.eventtype  = 'annotation'
cfg.trialdef.eventvalue = 'Ep.sw'
cfg.trialdef.prestim    = 0
cfg.trialdef.poststim   = 5
cfg.trialfun   = 'ft_trialfun_general'

How can I shift my manual annotations to include -0.5 before my event.value annotation. Any help will be appreciated.

Regards,
Mubeen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210327/486e0df9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fieldtrip .jpg
Type: image/jpeg
Size: 137773 bytes
Desc: fieldtrip .jpg
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210327/486e0df9/attachment-0001.jpg>


More information about the fieldtrip mailing list