From 08749840bae23d3b30c45c6235ba1293032a2656 Mon Sep 17 00:00:00 2001 From: sebastianp Date: Tue, 16 Aug 2016 09:14:56 +0200 Subject: [PATCH] resetting oversampling to 1 "one" --- pylot/core/util/pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/pdf.py b/pylot/core/util/pdf.py index 814b7112..da9020c5 100644 --- a/pylot/core/util/pdf.py +++ b/pylot/core/util/pdf.py @@ -326,7 +326,7 @@ class ProbabilityDensityFunction(object): raise ValueError('value out of bounds: {0}'.format(value)) return self.prob_limits((value, self.axis[-1])) - def prob_limits(self, limits, oversampling=10.): + def prob_limits(self, limits, oversampling=1.): sampling = self.incr / oversampling lim = np.arange(limits[0], limits[1], sampling) data = self.data(lim)