code: def peak_interval(self, name, alpha=_alpha, npoints=_npoints, **kwargs):
          
          data = self.get(name, **kwargs)
          return peak_interval(data,alpha,npoints)
docs: Calculate peak interval for parameter.