diff options
author | Aaron LI <aly@aaronly.me> | 2018-07-16 15:21:15 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-07-16 15:21:15 +0800 |
commit | a6027343435764ca61275f569ec37c91955f0e83 (patch) | |
tree | b4da700c2e47390586e4e20fb16c0f6ba1d4716f | |
parent | ff44047d1bcbf3f4e4d2a0ac6cd3ac7c0d841068 (diff) | |
download | atoolbox-a6027343435764ca61275f569ec37c91955f0e83.tar.bz2 |
astro/z2freq.py: Fix range parsing
-rwxr-xr-x | astro/21cm/z2freq.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |