diff options
Diffstat (limited to 'scripts/ciao_calc_csb.sh')
-rwxr-xr-x | scripts/ciao_calc_csb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ciao_calc_csb.sh b/scripts/ciao_calc_csb.sh index 6749c64..dc2aea5 100755 --- a/scripts/ciao_calc_csb.sh +++ b/scripts/ciao_calc_csb.sh @@ -196,7 +196,7 @@ if [ `echo "${Z} < 0.3" | bc -l` -eq 1 ]; then # exit ${ERR_Z} fi -KPC_PER_PIX=`cosmo_calc ${Z} | \grep 'kpc.*pix' | tr -d 'a-zA-Z_#=(),:/ '` +KPC_PER_PIX=`cosmo_calc.py -b --kpc-per-pix ${Z}` RC_PIX=`echo "scale=2; 0.048 * ${R500} / ${KPC_PER_PIX}" | bc -l` # test counts_in_0.048R500<500? RC_REG="pie(${X},${Y},0,${RC_PIX},0,360)" |