Off-line averaging

Is it possible to create a single averaged epoch from events with different trigger codes (e.g. if a stimulus has different codes when presented in right or left visual field and I want to collapse them)? How would they be identified on the "event" parameter when defining catagories using the average {} command? Thanks

Alfie

Alfredo Sklar, MD, PhD
PGY2 Psychiatry Resident
Western Psychiatric Institute and Clinic
University of Pittsburgh Medical Center
Pager: 412-958-5770

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170908/2bf08925/attachment.html

have a look at:

http://martinos.org/mne/dev/auto_tutorials/plot_object_epochs.html

if you have:

event_id = {'Auditory/Left': 1, 'Auditory/Right': 2}
epochs['Auditory'].average()

will give you the auditory epochs averaged but if you just do:

epochs.average()

you'll get all epochs together.

HTH
ALex