diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-02-07 22:45:43 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-02-07 22:45:43 +0800 |
commit | f7db09734f6867ceed28789ae6d78f66bc7d03fe (patch) | |
tree | 4ad3fd6c686ab34895e0447f028c3692c0dcd46a | |
parent | 53fcbe92c672ae8e23abfbe67abee4d4d4f1772a (diff) | |
download | chandra-acis-analysis-f7db09734f6867ceed28789ae6d78f66bc7d03fe.tar.bz2 |
fit_mass.sh: Fix the wrong argument for calc_lx
-rwxr-xr-x | mass_profile/fit_mass.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mass_profile/fit_mass.sh b/mass_profile/fit_mass.sh index 2854b5a..ac03f96 100755 --- a/mass_profile/fit_mass.sh +++ b/mass_profile/fit_mass.sh @@ -202,7 +202,7 @@ for i in `seq 1 ${MC_TIMES}`; do echo "no no no" >> summary_gas_mass_profile.qdp cat entropy.qdp >> summary_entropy.qdp echo "no no no" >> summary_entropy.qdp -done # end `while' +done # end of `for' # recover the files of original center values cp -f ${cfunc_profile_center} ${cfunc_profile} @@ -228,10 +228,10 @@ printf "## R200: ${R200_VAL}\n" printf "## R500: ${R500_VAL}\n" printf "## R1500: ${R1500_VAL}\n" printf "## R2500: ${R2500_VAL}\n" -L200E=`${base_path}/calc_lx ${sbprofile} flux_cnt_ratio_center.txt $z $R200_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` -L500E=`${base_path}/calc_lx ${sbprofile} flux_cnt_ratio_center.txt $z $R500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` -L1500E=`${base_path}/calc_lx ${sbprofile} flux_cnt_ratio_center.txt $z $R1500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` -L2500E=`${base_path}/calc_lx ${sbprofile} flux_cnt_ratio_center.txt $z $R2500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` +L200E=`${base_path}/calc_lx ${sbp_data} flux_cnt_ratio_center.txt $z $R200_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` +L500E=`${base_path}/calc_lx ${sbp_data} flux_cnt_ratio_center.txt $z $R500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` +L1500E=`${base_path}/calc_lx ${sbp_data} flux_cnt_ratio_center.txt $z $R1500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` +L2500E=`${base_path}/calc_lx ${sbp_data} flux_cnt_ratio_center.txt $z $R2500_VAL ${tprofile_data} | grep '^Lx' | awk '{ print $2,$3,$4 }'` R200E=`grep '^r200' ${RES_TMP} | tail -n 1 | awk '{ print $2,$3 }'` R500E=`grep '^r500' ${RES_TMP} | tail -n 1 | awk '{ print $2,$3 }'` R1500E=`grep '^r1500' ${RES_TMP} | tail -n 1 | awk '{ print $2,$3 }'` |