aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2015-11-08 20:23:33 +0800
committerAaron LI <aaronly.me@outlook.com>2015-11-08 20:23:33 +0800
commitae6fc9d17d7d4461b98c30f0fa215b79d44fb0b3 (patch)
treef688393bef16eb9fb21b93a950f59a5779702cc4
parent520a7c1d7e2d633473f2fa0f39da31ae6c870dc4 (diff)
downloadchandra-acis-analysis-ae6fc9d17d7d4461b98c30f0fa215b79d44fb0b3.tar.bz2
chandra_update_xpeak.sh: fix typo
-rwxr-xr-xscripts/chandra_update_xpeak.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/chandra_update_xpeak.sh b/scripts/chandra_update_xpeak.sh
index 71d5b06..5c305f1 100755
--- a/scripts/chandra_update_xpeak.sh
+++ b/scripts/chandra_update_xpeak.sh
@@ -256,8 +256,8 @@ CNTRD_X=`\grep -iE '(pie|annulus)' ${SBP_REG} | head -n 1 | awk -F',' '{ print $
CNTRD_Y=`\grep -iE '(pie|annulus)' ${SBP_REG} | head -n 1 | awk -F',' '{ print $2 }' | tr -d 'a-zA-Z() '`
SEARCH_REGION="circle(${CNTRD_X},${CNTRD_Y},${SEARCH_RADIUS})"
-# dmstat to find the centroid
-printf "\`dmstat' to find the centroid ...\n"
+# dmstat to find the maximum location
+printf "\`dmstat' to find the peak ...\n"
punlearn dmstat
dmstat infile="${IMG_ACONV}[sky=${SEARCH_REGION}]" verbose=0
PEAK_X=`pget dmstat out_max_loc | cut -d',' -f1`