From 97bc6f61444c312c5326b5d6f5ed8771c8dfbeba Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 11 Sep 2017 22:36:40 +0800 Subject: fits2skymodel.py: Save the minimum cut value --- astro/oskar/fits2skymodel.py | 1 + 1 file changed, 1 insertion(+) (limited to 'astro') 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) -- cgit v1.2.2