diff options
-rwxr-xr-x | scripts/peakogram-stream | 2 |
1 files changed, 1 insertions, 1 deletions
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) & (x<xmax) & (y>ymin) & (y<ymax)) +keepers = np.where((x>=xmin) & (x<=xmax) & (y>=ymin) & (y<=ymax)) x = x[keepers] y = y[keepers] |