mne-tools/mne-python — pull request #65 by christianmbrodbeck (2012-07-11 03:54:39+00:00)
Title: Cmb epochs average fix

I think there is a problem in Epochs.average(): The line

n_events = len(self.events)

is used even when preload == False, in which case it is not equal to the final number of epochs after rejection.