diff options
author | Aaron LI <aly@aaronly.me> | 2017-09-11 22:36:40 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-09-11 22:36:40 +0800 |
commit | 97bc6f61444c312c5326b5d6f5ed8771c8dfbeba (patch) | |
tree | f56950c97411c6a7c7b79bec0569eb1e91f675ff /astro | |
parent | c73b3b3db67dc5bd59d4b2925e81e3da31354d24 (diff) | |
download | atoolbox-97bc6f61444c312c5326b5d6f5ed8771c8dfbeba.tar.bz2 |
fits2skymodel.py: Save the minimum cut value
Diffstat (limited to 'astro')
-rwxr-xr-x | astro/oskar/fits2skymodel.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/astro/oskar/fits2skymodel.py b/astro/oskar/fits2skymodel.py index ff83fa1..f6ec4ad 100755 --- a/astro/oskar/fits2skymodel.py +++ b/astro/oskar/fits2skymodel.py @@ -169,6 +169,7 @@ class SkyModel: "Pixel size = %.2f [arcsec]\n" % self.pixelsize + "RA0 = %.4f [deg]\n" % self.ra0 + "Dec0 = %.4f [deg]\n" % self.dec0 + + "Minimum value = %.4e [K]\n" % self.minvalue + "Source counts = %d (%.1f%%)\n\n" % (counts, percent) + "R.A.[deg] Dec.[deg] flux[Jy]") np.savetxt(outfile, sky, fmt='%.10e, %.10e, %.10e', header=header) |