diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-07-29 16:25:03 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-07-29 16:25:03 +0800 |
commit | 0caec8c48363149d203f94eb2d7e5cca16a66a57 (patch) | |
tree | 6f1975c31effead3260fa871b5386fb85e5cbb47 /scripts | |
parent | 42a71c13678a0066eeb94812de1102eec5843bb9 (diff) | |
download | chandra-acis-analysis-0caec8c48363149d203f94eb2d7e5cca16a66a57.tar.bz2 |
fixes to ciao_expcorr_only.sh: verbose params, symbolic links
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ciao_expcorr_only.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/ciao_expcorr_only.sh b/scripts/ciao_expcorr_only.sh index 1321382..f4d390b 100755 --- a/scripts/ciao_expcorr_only.sh +++ b/scripts/ciao_expcorr_only.sh @@ -365,14 +365,21 @@ if `which merge_all >/dev/null 2>&1`; then dmimgcalc infile="${IMG_ORIG}" infile2="${EXPMAP}" \ outfile="${IMG_EXPCORR}" operation=div clobber=yes else - # `merge_all' deprecated and not available + ## `merge_all' deprecated and not available ## use 'fluximage' to generate `exposure map' and apply exposure correction printf "fluximage ...\n" punlearn fluximage fluximage infile="${EVT_E}" outroot="${ROOTNAME}" \ binsize=1 bands="${SPEC_WGT}" xygrid="${XYGRID}" \ asol="@${ASOLIS}" badpixfile="${BPIX}" \ - maskfile="${MSK}" clobber=yes verbose=2 + maskfile="${MSK}" clobber=yes + ## make symbolic links + # clipped counts image + ln -sv "${ROOTNAME}*band*thresh.img" "${IMG_ORIG%.fits}_thresh.fits" + # clipped exposure map + ln -sv "${ROOTNAME}*band*thresh.expmap" "${EXPMAP}" + # exposure-corrected image + ln -sv "${ROOTNAME}*band*flux.img" "${IMG_EXPCORR}" fi ## main }}} |