From 5674a7404bd7708c40e34d0fe4fdf0333bbf7e76 Mon Sep 17 00:00:00 2001
From: Kipp Cannon <kipp.cannon@ligo.org>
Date: Mon, 21 Jan 2019 11:42:33 +0900
Subject: [PATCH] rate_estimation.py:  remove overflow bins from rate binnings

---
 gstlal-inspiral/python/rate_estimation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstlal-inspiral/python/rate_estimation.py b/gstlal-inspiral/python/rate_estimation.py
index af523a4483..69c3180e1d 100644
--- a/gstlal-inspiral/python/rate_estimation.py
+++ b/gstlal-inspiral/python/rate_estimation.py
@@ -340,7 +340,7 @@ def binned_rates_from_samples(samples):
 	"""
 	lo, hi = math.floor(samples.min()), math.ceil(samples.max())
 	nbins = int(math.sqrt(len(samples)) / 40.)
-	binnedarray = rate.BinnedArray(rate.NDBins((rate.LogarithmicPlusOverflowBins(lo if lo !=0. else samples.min(), hi, nbins),)))
+	binnedarray = rate.BinnedArray(rate.NDBins((rate.LogarithmicBins(lo, hi, nbins),)))
 	for sample in samples:
 		binnedarray[sample,] += 1.
 	rate.filter_array(binnedarray.array, rate.gaussian_window(5), use_fft = False)
-- 
GitLab