aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xastro/21cm/z2freq.py2
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