def integrate(self, mlow, mhigh, **kwargs): """ Integrate the mass function over some range """ import scipy.integrate return scipy.integrate.quad(self, mlow, mhigh, **kwargs)