aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-09-11 22:36:40 +0800
committerAaron LI <aly@aaronly.me>2017-09-11 22:36:40 +0800
commit97bc6f61444c312c5326b5d6f5ed8771c8dfbeba (patch)
treef56950c97411c6a7c7b79bec0569eb1e91f675ff /astro
parentc73b3b3db67dc5bd59d4b2925e81e3da31354d24 (diff)
downloadatoolbox-97bc6f61444c312c5326b5d6f5ed8771c8dfbeba.tar.bz2
fits2skymodel.py: Save the minimum cut value
Diffstat (limited to 'astro')
-rwxr-xr-xastro/oskar/fits2skymodel.py1
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)