Epoch Averaging and classification

Friends from MNE,

I would like to ask you a simple question that had me dealing with complex
structures to make it work, and I guess, it should have for sure a better
way to do it.

I need to classify Evoked potentials based on different epoch averaging
patterns, a typical scenario of a P300 speller for Brain Computer
Interfaces. Epochs are grouped in letter identification trials, all the
epochs from a trial are averaged, and finally you end up classifying
averaged epochs within each trial.

How can I generate an mne.Epoch structure based on mne.Evoked ?

Is there any example of something like this to follow ?

Thank you all for this awesome software !
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180217/04149070/attachment.html

Hi Rodrigo,

Perhaps you are looking for something like hierarchical events that MNE
supports?

See the "Notes" section in the documentation of mne.Epochs
<https://martinos.org/mne/stable/generated/mne.Epochs.html>.

HTH,
Mainak