diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-02-22 10:26:01 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-02-22 10:26:01 +0800 |
commit | 6c495bbcfaeb793969f082d953d55d3a9ef91aaf (patch) | |
tree | 936e6133440973af0ed36c5ff7c75e82a9811e25 /bin/fit_mass.sh | |
parent | 361e52204d2bc67b69e1e2a6823da0e95d5a530a (diff) | |
download | chandra-acis-analysis-6c495bbcfaeb793969f082d953d55d3a9ef91aaf.tar.bz2 |
Update to use 'cosmo_calc.py'
Diffstat (limited to 'bin/fit_mass.sh')
-rwxr-xr-x | bin/fit_mass.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |