aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-06-08 01:20:42 +0800
committerAaron LI <aaronly.me@gmail.com>2016-06-08 01:20:42 +0800
commit71c8853e9cfb9bedc9710328f910a976930d828a (patch)
treeece79c6a0a0cbf81d386ba69abe153d3d56ca504
parent89737ef8be73159c6a000e6fbfeff7982f12c897 (diff)
downloadchandra-acis-analysis-71c8853e9cfb9bedc9710328f910a976930d828a.tar.bz2
fit_nfwmass.sh: only support "wang2012" model
-rwxr-xr-xmass_profile/fit_nfwmass.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/mass_profile/fit_nfwmass.sh b/mass_profile/fit_nfwmass.sh
index db2ee9c..7cab66a 100755
--- a/mass_profile/fit_nfwmass.sh
+++ b/mass_profile/fit_nfwmass.sh
@@ -117,15 +117,8 @@ else
fi
# }}}
-# determine which temperature profile to be used, and fit the T profile {{{
-if [ "X${t_profile_type}" = "Xzyy" ] || \
- [ "X${t_profile_type}" = "Xwang2012" ] || \
- [ "X${t_profile_type}" = "Xzzl" ]; then
- :
-elif [ "X${t_profile_type}" = "Xm0603246" ] || \
- [ "X${t_profile_type}" = "Xallen" ]; then
- t_param_file=""
-else
+# only 'wang2012' model supported {{{
+if [ "X${t_profile_type}" != "Xwang2012" ]; then
printf "ERROR: invalid temperature profile model: \`${t_profile_type}'!\n"
exit 10
fi