# # config file for `sbp_fit.py` (v0.6.1) # # Weitian LI # 2016-04-21 # # # name = obsid = r500_pix = 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