mne-tools/mne-python — pull request #252 by Eric89GXL (2012-12-12 01:34:00+00:00)
Title: Epochs fun

This is along the lines of some of what was discussed in #133. These are functions I use for making meaningful epochs objects from complex datasets. I don't think the changes are too drastic -- although it looks like a lot, the two new Epochs methods are 5-10 lines if you don't count the error checking and comments. If they are too much, I can easily move them out of the Epochs instance so they take epochs as the first argument instead of self.

I also added an example showing how simple it is to use these methods, as well as the new dict functionality, in `plot_from_raw_to_multiple_epochs_to_evoked.py`.