[Mne_analysis] Off-line averaging

Alexandre Gramfort alexandre.gramfort at inria.fr
Sat Sep 9 04:02:10 EDT 2017
Search archives:

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


On Fri, Sep 8, 2017 at 9:08 PM, Sklar, Alfredo <sklaral at upmc.edu> wrote:
> 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
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>


More information about the Mne_analysis mailing list