From 052c9b57c2c3c851d7a8e7a1c3f2a2bb44a5b616 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 5 Dec 2017 14:39:27 +0800 Subject: Minor fix and improve --- astro/fits/fitscube.py | 2 +- 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 -- cgit v1.2.2