aboutsummaryrefslogtreecommitdiffstats
path: root/mass_profile/fit_mass.sh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-17 00:04:02 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-17 01:16:47 +0800
commita2c996d79c2bc3e854c991676680a64bd6e3195f (patch)
tree235c8b70789cfdbbb47780b07953d12ceccbaa64 /mass_profile/fit_mass.sh
parent3320db9729796eb5c06a6c907b4593fec401dd2f (diff)
downloadchandra-acis-analysis-a2c996d79c2bc3e854c991676680a64bd6e3195f.tar.bz2
No longer calculate and use 'flux_cnt_ratio.txt'
This ratio file only was only used by 'calc_lx', which has already been removed.
Diffstat (limited to 'mass_profile/fit_mass.sh')
-rwxr-xr-xmass_profile/fit_mass.sh27
1 files changed, 8 insertions, 19 deletions
diff --git a/mass_profile/fit_mass.sh b/mass_profile/fit_mass.sh
index e29434a..37aefa8 100755
--- a/mass_profile/fit_mass.sh
+++ b/mass_profile/fit_mass.sh
@@ -113,7 +113,6 @@ $base_path/coolfunc_calc.sh ${tprofile_center} \
${abund} ${nh} ${z} ${cfunc_profile} cfunc_bolo.dat
cfunc_profile_center="coolfunc_profile_center.txt"
cp -f ${cfunc_profile} ${cfunc_profile_center}
-mv -fv flux_cnt_ratio.txt flux_cnt_ratio_center.txt
PROG_SBPFIT="fit_${MODEL}_sbp"
RES_SBPFIT="${MODEL}_param.txt"
@@ -244,35 +243,25 @@ FG2500E=`grep '^gas_fraction2500' ${RES_TMP} | tail -n 1 | awk '{ print $2,$3 }'
printf "\n+++++++++++++++ RESULTS (${MODEL_NAME}) +++++++++++++++\n"
printf "model: ${MODEL_NAME}\n" | tee -a ${RES_FINAL}
-printf "\n" | tee -a ${RES_FINAL}
cat ${RES_SBPFIT_CENTER} | tee -a ${RES_FINAL}
printf "\n" | tee -a ${RES_FINAL}
printf "r200= ${R200E} kpc\n" | tee -a ${RES_FINAL}
-printf "m200= ${M200E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas_m200= ${MG200E} M_sun\n" | tee -a ${RES_FINAL}
+printf "m200= ${M200E} Msun\n" | tee -a ${RES_FINAL}
+printf "gas_m200= ${MG200E} Msun\n" | tee -a ${RES_FINAL}
printf "gas_fraction200= ${FG200E} x100%%\n" | tee -a ${RES_FINAL}
printf "r500= ${R500E} kpc\n" | tee -a ${RES_FINAL}
-printf "m500= ${M500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas_m500= ${MG500E} M_sun\n" | tee -a ${RES_FINAL}
+printf "m500= ${M500E} Msun\n" | tee -a ${RES_FINAL}
+printf "gas_m500= ${MG500E} Msun\n" | tee -a ${RES_FINAL}
printf "gas_fraction500= ${FG500E} x100%%\n" | tee -a ${RES_FINAL}
printf "r1500= ${R1500E} kpc\n" | tee -a ${RES_FINAL}
-printf "m1500= ${M1500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas_m1500= ${MG1500E} M_sun\n" | tee -a ${RES_FINAL}
+printf "m1500= ${M1500E} Msun\n" | tee -a ${RES_FINAL}
+printf "gas_m1500= ${MG1500E} Msun\n" | tee -a ${RES_FINAL}
printf "gas_fraction1500= ${FG1500E} x100%%\n" | tee -a ${RES_FINAL}
printf "r2500= ${R2500E} kpc\n" | tee -a ${RES_FINAL}
-printf "m2500= ${M2500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas_m2500= ${MG2500E} M_sun\n" | tee -a ${RES_FINAL}
+printf "m2500= ${M2500E} Msun\n" | tee -a ${RES_FINAL}
+printf "gas_m2500= ${MG2500E} Msun\n" | tee -a ${RES_FINAL}
printf "gas_fraction2500= ${FG2500E} x100%%\n" | tee -a ${RES_FINAL}
printf "\n" | tee -a ${RES_FINAL}
-printf "gas mass 200= ${MG200E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas fractho 200= ${FG200E} x100%%\n" | tee -a ${RES_FINAL}
-printf "gas mass 500= ${MG500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas fractho 500= ${FG500E} x100%%\n" | tee -a ${RES_FINAL}
-printf "gas mass 1500= ${MG1500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas fractho 1500= ${FG1500E} x100%%\n" | tee -a ${RES_FINAL}
-printf "gas mass 2500= ${MG2500E} M_sun\n" | tee -a ${RES_FINAL}
-printf "gas fractho 2500= ${FG2500E} x100%%\n" | tee -a ${RES_FINAL}
-printf "\n" | tee -a ${RES_FINAL}
${base_path}/fg_2500_500.py | tee -a ${RES_FINAL}
${base_path}/extract_tcool.py cooling_time.dat ${rcool} | tee -a ${RES_FINAL}
printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++\n"