From ba0ab2d5cd8f3fe2a4708094c7f897a8543b34dd Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 3 Mar 2017 20:18:33 +0800 Subject: Minor changes --- bin/calc_coolfunc_table.py | 4 ++-- bin/event2image.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/calc_coolfunc_table.py b/bin/calc_coolfunc_table.py index 6a253ed..16a7717 100755 --- a/bin/calc_coolfunc_table.py +++ b/bin/calc_coolfunc_table.py @@ -132,8 +132,8 @@ def main(): type=float, default=15.0, help="upper temperature limit [keV] (default: 15.0)") parser.add_argument("-s", "--tstep", dest="tstep", - type=float, default=0.01, - help="temperature step size [keV] (default: 0.01)") + type=float, default=0.02, + help="temperature step size [keV] (default: 0.02)") parser.add_argument("-u", "--unit", dest="unit", required=True, choices=["erg", "photon"], help="use flux values of unit [erg/cm^2/s] or " + diff --git a/bin/event2image.py b/bin/event2image.py index e41368d..bc7dde9 100755 --- a/bin/event2image.py +++ b/bin/event2image.py @@ -65,7 +65,7 @@ def main(): "(default: 7000 [eV])") parser.add_argument("-i", "--infile", dest="infile", help="event file from which to create the image " + - "(default: evt2_clean from manifest)") + "(default: 'evt2_clean' from manifest)") parser.add_argument("-o", "--outfile", dest="outfile", help="output image filename (default: " + "build in format 'img_c_e-.fits')") @@ -104,6 +104,7 @@ def main(): # Add created image to manifest key = "img_e{erange}".format(erange=erange) manifest.setpath(key, outfile) + logger.info("Added '%s' to manifest: %s" % (key, manifest.get(key))) if __name__ == "__main__": -- cgit v1.2.2