aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rwxr-xr-xastro/fits/fitscube.py2
-rwxr-xr-xastro/ps1d_eorwindow.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/astro/fits/fitscube.py b/astro/fits/fitscube.py
index f69cfd2..a612d96 100755
--- a/astro/fits/fitscube.py
+++ b/astro/fits/fitscube.py
@@ -502,7 +502,7 @@ def main():
help="input FITS cube filename")
parser_crp.add_argument("-o", "--outfile", dest="outfile", required=True,
help="output corrupted FITS cube")
- parser_cal.add_argument("--save-info", dest="save_info",
+ parser_crp.add_argument("--save-info", dest="save_info",
action="store_true",
help="save the calibration information of echo " +
"channel/slice to a text file")
diff --git a/astro/ps1d_eorwindow.py b/astro/ps1d_eorwindow.py
index bbb0ded..8828247 100755
--- a/astro/ps1d_eorwindow.py
+++ b/astro/ps1d_eorwindow.py
@@ -155,7 +155,7 @@ class PS1D:
ax.errorbar(x[1:], y[1:], yerr=yerr[1:], fmt="none")
ax.plot(x[1:], y[1:], marker="o")
ax.set(xscale="log", yscale="log",
- xlabel=r"[Mpc$^{-1}$]", ylabel=ylabel,
+ xlabel=r"k [Mpc$^{-1}$]", ylabel=ylabel,
title="1D Spherically Average Power Spectrum")
return ax