diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-03-03 20:18:33 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-03-03 20:18:33 +0800 |
commit | ba0ab2d5cd8f3fe2a4708094c7f897a8543b34dd (patch) | |
tree | 48c2b33ff85c39ddf1473aae2a6ba66cdde98e18 | |
parent | 4b3838ffa302b9e8b32cb2223c53fc0714973cf5 (diff) | |
download | chandra-acis-analysis-ba0ab2d5cd8f3fe2a4708094c7f897a8543b34dd.tar.bz2 |
Minor changes
-rwxr-xr-x | bin/calc_coolfunc_table.py | 4 | ||||
-rwxr-xr-x | 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<chip>_e<elow>-<ehigh>.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__": |