aboutsummaryrefslogtreecommitdiffstats
path: root/mass_profile/coolfunc_calc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mass_profile/coolfunc_calc.sh')
-rwxr-xr-xmass_profile/coolfunc_calc.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mass_profile/coolfunc_calc.sh b/mass_profile/coolfunc_calc.sh
index 9a01648..66e9123 100755
--- a/mass_profile/coolfunc_calc.sh
+++ b/mass_profile/coolfunc_calc.sh
@@ -24,9 +24,9 @@ TPROFILE=$1
ABUND_VAL=$2
N_H=$3
REDSHIFT=$4
-NORM=`cosmo_calc ${REDSHIFT} | grep 'norm.*cooling_function' | awk -F':' '{ print $2 }'`
COOLFUNC_DAT=$5
COOLFUNC_DAT_RATIO="flux_cnt_ratio.txt"
+NORM=`cosmo_calc ${REDSHIFT} | grep 'norm.*cooling_function' | awk -F':' '{ print $2 }'`
if [ ! -r "${TPROFILE}" ]; then
printf "ERROR: given tprofile '${TPROFILE}' NOT accessiable\n"
@@ -44,7 +44,7 @@ XSPEC_CF_XCM="_coolfunc_calc.xcm"
## generate xspec script {{{
cat >> ${XSPEC_CF_XCM} << _EOF_
## XSPEC Tcl script
-## Calculate the cooling function profile w.r.t the temperature profile
+## Calculate the cooling function profile w.r.t the temperature profile.
##
## Generated by: `basename $0`
## Date: `date`
@@ -147,8 +147,8 @@ cat >> ${XSPEC_CF_XCM} << _EOF_
## exit
tclexit
_EOF_
-## generate xcm }}}
+## xcm generation }}}
## invoke xspec to calc
-printf "invoking XSPEC to calculate cooling function data ...\n"
+printf "invoking XSPEC to calculate cooling function profile ...\n"
xspec - ${XSPEC_CF_XCM} > /dev/null