'Make a summary stc file with mean power between tmin and tmax.
Returns
stc : instance of SourceEstimate
The modified stc (method operates inplace).'

def mean(self):

    data = self.data
    tmax = (self.tmin + (self.tstep * data.shape[1]))
    tmin = ((self.tmin + tmax) / 2.0)
    tstep = (tmax - self.tmin)
    mean_stc = SourceEstimate(self.data.mean(axis=1)[:, np.newaxis], vertices=self.vertices, tmin=tmin, tstep=tstep, subject=self.subject)
    return mean_stc
