From a6027343435764ca61275f569ec37c91955f0e83 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 16 Jul 2018 15:21:15 +0800 Subject: astro/z2freq.py: Fix range parsing --- astro/21cm/z2freq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'astro') diff --git a/astro/21cm/z2freq.py b/astro/21cm/z2freq.py index 454a425..5022877 100755 --- a/astro/21cm/z2freq.py +++ b/astro/21cm/z2freq.py @@ -49,7 +49,7 @@ def parse_inputs(inputs): except ValueError: begin, step, stop = inp.split(":") begin, step, stop = float(begin), float(step), float(stop) - v = np.arange(start=begin, stop=stop+step, step=step) + v = np.arange(start=begin, stop=stop+step/2, step=step) values += list(v) return values -- cgit v1.2.2