summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-04-26 16:59:57 +0800
committerAaron LI <aaronly.me@outlook.com>2016-04-26 16:59:57 +0800
commita5a4a8deba2c1bc62d5e11e85fb84d36aacfacde (patch)
treeb1c484694628c4588eeac408cf2f94de2ac3fc23
parent682e5dd48ac854fc8a1cc49fd572663284903cf4 (diff)
downloadcexcess-a5a4a8deba2c1bc62d5e11e85fb84d36aacfacde.tar.bz2
sbpfit.conf: config for sbp_fit.py;
-rw-r--r--sbpfit.conf62
1 files changed, 62 insertions, 0 deletions
diff --git a/sbpfit.conf b/sbpfit.conf
new file mode 100644
index 0000000..4a8f50c
--- /dev/null
+++ b/sbpfit.conf
@@ -0,0 +1,62 @@
+#
+# config file for `sbp_fit.py` (v0.6.1)
+#
+# Weitian LI
+# 2016-04-21
+#
+# <DATE>
+#
+
+name = <NAME>
+obsid = <OBSID>
+r500_pix = <R500_PIX>
+r500_kpc = <R500_KPC>
+
+sbpfile = sbprofile.txt
+# unit of radius: pix (default) or kpc
+unit = pixel
+
+# sbp model: "sbeta" or "dbeta"
+model = sbeta
+#model = dbeta
+
+# output file to store the fitting results
+outfile = sbpfit.txt
+# output file to save the fitting plot
+imgfile = sbpfit.png
+
+# data range to be ignored during fitting (same unit as the above "unit")
+#ignore = 0.0-20.0,
+# specify the ignore range w.r.t R500 ("r500_pix" or "r500_kpc" required)
+#ignore_r500 = 0.0-0.15,
+
+[sbeta]
+# model-related options (OVERRIDE the upper level options)
+outfile = sbpfit_sbeta.txt
+imgfile = sbpfit_sbeta.png
+#ignore = 0.0-20.0,
+ignore_r500 = 0.0-0.1,
+ [[params]]
+ # model parameters
+ # name = initial, lower, upper, variable (FIXED/False to fix the parameter)
+ s0 = 1.0e-8, 0.0, 1.0e-6
+ rc = 30.0, 5.0, 1.0e4
+ #rc = 30.0, 5.0, 1.0e4, FIXED
+ beta = 0.7, 0.3, 1.1
+ bkg = 1.0e-10, 0.0, 1.0e-8
+
+
+[dbeta]
+outfile = sbpfit_dbeta.txt
+imgfile = sbpfit_dbeta.png
+#ignore = 0.0-20.0,
+#ignore_r500 = 0.0-0.15,
+ [[params]]
+ s01 = 1.0e-8, 0.0, 1.0e-6
+ rc1 = 50.0, 10.0, 1.0e4
+ beta1 = 0.7, 0.3, 1.1
+ s02 = 1.0e-8, 0.0, 1.0e-6
+ rc2 = 30.0, 2.0, 5.0e2
+ beta2 = 0.7, 0.3, 1.1
+ bkg = 1.0e-10, 0.0, 1.0e-8
+