diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/calc_coolfunc_bands.sh | 2 | ||||
-rwxr-xr-x | bin/fit_mass.sh | 2 | ||||
-rwxr-xr-x | bin/fit_sbp.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/calc_coolfunc_bands.sh b/bin/calc_coolfunc_bands.sh index bebdce2..d400a9b 100755 --- a/bin/calc_coolfunc_bands.sh +++ b/bin/calc_coolfunc_bands.sh @@ -27,7 +27,7 @@ N_H=$3 REDSHIFT=$4 COOLFUNC_PREFIX=$5 BLIST=$6 -NORM=`cosmo_calc ${REDSHIFT} | grep 'norm.*cooling_function' | awk -F':' '{ print $2 }'` +NORM=`cosmo_calc.py -b --norm-apec ${REDSHIFT}` if [ ! -r "${TPROFILE}" ]; then printf "ERROR: given tprofile '${TPROFILE}' NOT accessiable\n" diff --git a/bin/fit_mass.sh b/bin/fit_mass.sh index e4e0614..078d65d 100755 --- a/bin/fit_mass.sh +++ b/bin/fit_mass.sh @@ -71,7 +71,7 @@ sbp_data=`grep '^sbp_data' ${sbp_cfg} | awk '{ print $2 }'` tprofile=`grep '^tprofile' ${sbp_cfg} | awk '{ print $2 }'` cfunc_profile=`grep '^cfunc_profile' ${sbp_cfg} | awk '{ print $2 }'` z=`grep '^z' ${sbp_cfg} | awk '{ print $2 }'` -cm_per_pixel=`cosmo_calc.py -b --cm-per-pixel ${z}` +cm_per_pixel=`cosmo_calc.py -b --cm-per-pix ${z}` sed -i'' "s/^cm_per_pixel.*$/cm_per_pixel ${cm_per_pixel}/" ${sbp_cfg} cfunc_table="coolfunc_table_photon.txt" diff --git a/bin/fit_sbp.sh b/bin/fit_sbp.sh index 679caf6..074ba33 100755 --- a/bin/fit_sbp.sh +++ b/bin/fit_sbp.sh @@ -36,7 +36,7 @@ tprofile_data=`grep '^tprofile_data' ${mass_cfg} | awk '{ print $2 }'` tprofile_cfg=`grep '^tprofile_cfg' ${mass_cfg} | awk '{ print $2 }'` z=`grep '^z' ${sbp_cfg} | awk '{ print $2 }'` -cm_per_pixel=`cosmo_calc.py -b --cm-per-pixel ${z}` +cm_per_pixel=`cosmo_calc.py -b --cm-per-pix ${z}` sed -i'' "s/^cm_per_pixel.*$/cm_per_pixel ${cm_per_pixel}/" ${sbp_cfg} cfunc_profile=`grep '^cfunc_profile' ${sbp_cfg} | awk '{ print $2 }'` tprofile=`grep '^tprofile' ${sbp_cfg} | awk '{ print $2 }'` |