def METHOD_NAME(self):
    method = ("no", "histogram", "python")
    qref, Iref, _ = self.ai.integrate1d_ng(self.data, self.npt, error_model="poisson")
    q, I, s = self.ai.integrate1d_ng(self.data, self.npt, error_model="poisson", method=method)
    self.assertTrue(q[0] > 0, "q[0]>0 %s" % q[0])
    self.assertTrue(q[-1] < 8, "q[-1] < 8, got %s" % q[-1])
    self.assertTrue(s.min() >= 0, "s.min() >= 0 got %s" % (s.min()))
    self.assertTrue(s.max() < 21, "s.max() < 21 got %s" % (s.max()))
    self.assertTrue(I.max() < 52000, "I.max() < 52000 got %s" % (I.max()))
    self.assertTrue(I.min() >= 0, "I.min() >= 0 got %s" % (I.min()))
    R = mathutil.rwp((q, I), (qref, Iref))
    if R > 20:
        logger.error("Numpy has R=%s", R)
    if logger.getEffectiveLevel() == logging.DEBUG:
        pylab.errorbar(q, I, s, label="Numpy R=%.1f" % R)
        pylab.yscale("log")
    self.assertTrue(R < 20, "Numpy: Measure R=%s<2" % R)