summaryrefslogtreecommitdiffstats
path: root/ciao_extract_sbp.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-06-07 13:58:28 +0800
committerAaron LI <aaronly.me@outlook.com>2016-06-07 13:58:28 +0800
commit1470ecb3f53470fa62f717a2c17661aa27474c63 (patch)
tree0421891183e4d1f7f629987790653780e74c37fb /ciao_extract_sbp.py
parent68c808ea0d7e8be46797cb3f805d2a595c185136 (diff)
downloadcexcess-1470ecb3f53470fa62f717a2c17661aa27474c63.tar.bz2
ciao_extract_sbp.py: remove unused argument --json
Diffstat (limited to 'ciao_extract_sbp.py')
-rwxr-xr-xciao_extract_sbp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ciao_extract_sbp.py b/ciao_extract_sbp.py
index 68b15f5..39e193f 100755
--- a/ciao_extract_sbp.py
+++ b/ciao_extract_sbp.py
@@ -14,6 +14,7 @@
# beyond the CCD edges accounted. And the final extracted surface
# brightness results (`SUR_FLUX`) will not be biased due to the regions
# lying beyond the CCD edges.
+# In addition, using image as the input is also much faster.
# (2) events file (evt2):
# e.g., the cleaned evt2 file
# If the extraction region is beyond the CCD edges, the source extraction
@@ -26,9 +27,11 @@
#
# Aaron LI
# Created: 2016-05-17
-# Updated: 2016-06-06
+# Updated: 2016-06-07
#
# Change log:
+# 2016-06-07:
+# * Remove unused argument `--json`
# 2016-06-06:
# * Add explanations on image/evt2 input file
#
@@ -174,9 +177,6 @@ def extract_sbp(infile, expmap, regfile, outprefix, bkg=None, erange=None):
def main():
parser = argparse.ArgumentParser(
description="Extract surface brightness profile")
- parser.add_argument("-j", "--json", dest="json", required=False,
- help="the *_INFO.json file " +
- "(default: find ../*_INFO.json)")
parser.add_argument("-r", "--region", dest="region",
required=False, default="sbprofile.reg",
help="surface brightness profile region file " +