diff options
author | Aaron LI <aly@aaronly.me> | 2017-12-05 14:39:27 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-12-05 14:39:27 +0800 |
commit | 052c9b57c2c3c851d7a8e7a1c3f2a2bb44a5b616 (patch) | |
tree | 1530bf41aacf60495288e9b397933ef47893525c | |
parent | de487ae5b3c0cc86cba9eff6f0c5e2df0d1a5df2 (diff) | |
download | atoolbox-052c9b57c2c3c851d7a8e7a1c3f2a2bb44a5b616.tar.bz2 |
Minor fix and improve
-rwxr-xr-x | astro/fits/fitscube.py | 2 | ||||
-rwxr-xr-x | astro/ps1d_eorwindow.py | 2 |
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 |