aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ciao_r500avgt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ciao_r500avgt.sh')
-rwxr-xr-xscripts/ciao_r500avgt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ciao_r500avgt.sh b/scripts/ciao_r500avgt.sh
index b94554b..b504ebf 100755
--- a/scripts/ciao_r500avgt.sh
+++ b/scripts/ciao_r500avgt.sh
@@ -243,7 +243,7 @@ case "${R500_UNI}" in
;;
*)
printf "## units in \`kpc', convert to \`Chandra pixel'\n" | ${TOLOG}
- KPC_PER_PIX=`cosmo_calc ${REDSHIFT} | \grep 'kpc.*pix' | tr -d 'a-zA-Z_#=(),:/ '`
+ KPC_PER_PIX=`cosmo_calc.py -b --kpc-per-pix ${REDSHIFT}`
# convert scientific notation for `bc'
KPC_PER_PIX_B=`echo ${KPC_PER_PIX} | sed 's/[eE]/\*10\^/' | sed 's/+//'`
printf "## calculated \`kpc/pixel': ${KPC_PER_PIX_B}\n"