From 64fbb02bf49d1c5a8777913bf1bb063f13819807 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 19 Oct 2017 14:40:24 +0200 Subject: peakogram-stream: Fix included peaks The min and max values are specified inclusively. --- scripts/peakogram-stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/peakogram-stream b/scripts/peakogram-stream index 233a4e6f..5e173386 100755 --- a/scripts/peakogram-stream +++ b/scripts/peakogram-stream @@ -141,7 +141,7 @@ if args.imin is not None: if args.imax is not None: ymax = args.imax -keepers = np.where((x>xmin) & (xymin) & (y=xmin) & (x<=xmax) & (y>=ymin) & (y<=ymax)) x = x[keepers] y = y[keepers] -- cgit v1.2.3