-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yaml
66 lines (58 loc) · 1.58 KB
/
config.yaml
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
# Instrument specifications
data:
instrument: "APOGEE"
data_path: "default" # defaults to $APOGEE_DATA path (see setup documentation), unless otherwise specified
ID: "2M01195227+8409327"
orders: [[15200,15800],[15860,16425],[16475,16935]] # wave ranges, and orders
dtype: "ap1d"
visit: 1
sigma_clip: [.3,.05]
pixel_buffer: [0,2]
# Make sure this config.yaml and run.py files are placed in your input directory
# I recommend copying config.yaml and run.py to a path external to apogee_tools
workdir:
input: "/home/jess/Desktop/Research/FAST/fit_models"
output: "/home/jess/Desktop/Research/FAST/fit_models/output"
out:
mcmc_sampler: False
corner: False
walkers: False
print_report: True
# Specify which parameters will be sampled by MCMC
# otherwise parameters will be fixed at 'init' values
model:
grid_name: "PHOENIX" #directory: phoenix/apogee/order
theta: ['teff', 'logg', 'fe_h', 'rv', 'vsini', 'alpha']
fix_param: # specify fixed parameters (not sampled by MCMC)
airmass: 1.0 # airmass of telluric model, either 1.0 or 1.5
cont_deg: 5 # continuum polynomial degree
interp_method: "splat" # or "cannon"
resample_method: "fast" # or "splat"
# MCMC tuning
mcmc:
nwalkers: 12
nsteps: 3
# Initial parameters for MCMC
init:
teff: 3500
logg: 4.50
fe_h: 0.0
rv: -4.77
vsini: 5.79
alpha: 1.0
# Step parameters for MCMC
step:
teff: 1
logg: .01
fe_h: .01
rv: .1
vsini: .1
alpha: .01
# Prior ranges for MCMC (for flat prior)
prior:
teff: [2500, 5500]
logg: [0.0, 5.5]
fe_h: [-1.0, 1.0]
rv: [-200, 200]
vsini: [0, 200]
alpha: [0, 5]