aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ciao_r500avgt.sh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-06 13:11:18 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-06 13:11:18 +0800
commitedd0208c80c3478c563618b64040f42e1cf2b16f (patch)
tree529a29a47d382a7c067626be8c5dbfb452f72739 /scripts/ciao_r500avgt.sh
parent904b0374e526d9475d09166a27e1e5c4e81fcf59 (diff)
downloadchandra-acis-analysis-edd0208c80c3478c563618b64040f42e1cf2b16f.tar.bz2
Specify regions format and system for ds9
Also strip trailing white spaces.
Diffstat (limited to 'scripts/ciao_r500avgt.sh')
-rwxr-xr-xscripts/ciao_r500avgt.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/ciao_r500avgt.sh b/scripts/ciao_r500avgt.sh
index 7568cdb..b94554b 100755
--- a/scripts/ciao_r500avgt.sh
+++ b/scripts/ciao_r500avgt.sh
@@ -12,7 +12,6 @@
## of the outmost region
##
## Weitian LI <liweitianux@gmail.com>
-## Updated: 2016-06-08
##
## Change logs
## v1.1, 2012/08/26, Weitian LI
@@ -39,6 +38,8 @@
## (dmgroup will add history to fits file, while grppha NOT)
## 2016-06-08, Weitian LI
## * Drop 'calc_distance' in favor of 'cosmo_calc'
+## 2017-02-06, Weitian LI
+## * Specify regions format and system for ds9
##
## error code {{{
@@ -446,7 +447,10 @@ _EOF_
## open the evt file to verify or modify
printf "## check the generated pie region ...\n"
printf "## if modified, save with the same name \`${REG_OUT}' (overwrite)\n"
-ds9 ${EVT} -region ${REG_OUT} -cmap he -bin factor 4
+ds9 ${EVT} -regions format ciao \
+ -regions system physical \
+ -regions ${REG_OUT} \
+ -cmap he -bin factor 4
## check the (modified) region (pie region end angle)
printf "check the above region (for pie region end angle) ...\n"