def maxentropy(self, base = 2):
        """Compute the maximum entropy of the distribution: log_e(N)"""
        if not base and self.base: base = self.base
        if not base:
            return math.log(len(self._dist))
        else:
            return math.log(len(self._dist), base)
Compute the maximum entropy of the distribution: log_e(N)