aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fit_sbp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fit_sbp.sh')
-rwxr-xr-xbin/fit_sbp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fit_sbp.sh b/bin/fit_sbp.sh
index 5989ff1..9e98bc4 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 ${z} | grep 'cm/pixel' | awk -F':' '{ print $2 }'`
+cm_per_pixel=`cosmo_calc.py -b --cm-per-pixel ${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 }'`