-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBEAMS.params
More file actions
executable file
·134 lines (114 loc) · 3.17 KB
/
BEAMS.params
File metadata and controls
executable file
·134 lines (114 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# BEAMS example parameter file
[inputdata]
# file that gives info about BEAMS free parameters
mcmcparamfile = mcmcparams.input
# input file in FITRES format (see example data)
fitresfile = exampledata/PS1_SIM_example.FITRES
outfile = exampledata/PS1_BEAMS_example.out
# P(Ia) column in fitres file
piacol = PNN_Ia
# column with spec-confirmed SNe having value = 1, others = 0
specconfcol = SNSPEC
# another way to specify spec/phot SNe by using the IDSURVEY
# keyword in FITRES file
specidsurvey = 53,5,50,61,62,63,64,65,66
photidsurvey = 15
# if non-zero, the max # of SNe to include
nsne = 0
# photometric SNe don't contribute any value at
# low-z, so they can often be excluded based on the
# photidsurvey keyword
zminphot = 0.08
[sim]
# options to test BEAMS when using simulated data
# if true, remove sim SNe with bad redshifts based on
# the SIM_ZCMB keyword in the FITRES file
nobadzsim = False
# if true, remove SNe with SIM_TYPE_INDEX != 1 and bad
# redshifts from the bunch
onlyIa = False
# remove all SNe Ia with correct redshifts
onlyCC = False
# if non-zero, this test allows BEAMS to use the traditional method of
# making a cut on P(Ia) and treating all SNe with
# P(Ia) > pcutval as bona fide SNe Ia.
pcutval = 0
nspecsne = 0
[models]
# if true, use two gaussian and skewed gaussian models
# for the CC SN population
twogauss = False
skewedgauss = False
# different CC SN parameters at each control point
zCCdist = False
[lightcurve]
crange = -0.3,0.3
x1range = -3,3
fitprobmin = 0.001
x1errmax = 1
pkmjderrmax = 2
zmin = 0.01
zmax = 1.0
# these nuisance parameters are only used
# to remove SNe with NaN uncertainties
salt2alpha = 0.161
salt2beta = 3.060
salt2alphaerr = 0.006
salt2betaerr = 0.063
sigint = 0
# cutwin options have format variable, min, max
# used to restrict range of additional parameters
cutwin =
# if true, uses x1 and c parameters to define ellipse cut
# instead of a box cut
x1cellipse = False
[mass]
# these options allow BEAMS to simultaneously
# fit for the host mass bias (e.g. Sullivan+2010).
# These have not yet been tested.
masscorr = False
masscorrfixed = False
masscorrmag = 0.07
masscorrmagerr = 0.023
masscorrdivide = 10
[mcmc]
# emcee options - see their documentation
nthreads = 8
nwalkers = 200
nsteps = 1500
ninit = 1500
# if ntemps > 0, uses emcee's parallel-tempered
# ensemble sampler with specified number of
# temperatures
ntemps = 0
# random step size for initializing MCMC
mcrandstep = 1e-4
# minimization parameters for scipy.optimize.minimize
# these are ignored if ntemps > 0
minmethod = L-BFGS-B
miniter = 1
# sometimes the minimizer does good enough for the MCMC,
# even if it says it fails. To force it to succeed, set
# forceminsuccess = 1
forceminsuccess = False
# number of log(z) bins. Must match MCMC parameter file
nbins = 25
equalbins = False
[bootstrap]
# options for taking bootstrap subsets from
# a big FITRES file. Number of low-z SNe is
# fixed atm.
# if mcsubset = 1, take bootstrap subsets
mcsubset = False
# random seed
mcrandseed = 0
# size of non-low-z SNe
subsetsize = 1000
# number of MC samples
nmc = 25
# start at this sample
nmcstart = 1
# file with low-z SNe
mclowz =
# number of low-z SNe to include
lowzsubsetsize = 250