forked from amjsmith/hodpy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparameters.py
62 lines (52 loc) · 1.41 KB
/
parameters.py
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
# Parameters
# directory in which lookup files are stored
lookup_dir = "lookup/"
# input halo catalogue
halo_file = "input/halo_catalogue_small.hdf5"
# output directory
output_dir = "output/"
# apparent magnitude threshold
mag_faint = 20.0
# lookup tables of central and satellites magnitudes
# these files will be created if they don't exist
lookup_central = lookup_dir+"central_magnitudes.npy"
lookup_satellite = lookup_dir+"satellite_magnitudes.npy"
### Cosmology ###
h0 = 0.73
OmegaM = 0.25
OmegaL = 0.75
### Luminosity function ###
lf_file = lookup_dir+"sdss_cumulative_lf.dat" # file of cum LF at low z
Phi_star = 0.94e-2 # Schecheter params at high z
M_star = -20.70
alpha = -1.23
P = 1.8 # evolution params
Q = 0.7
# k-correction
k_corr_file = lookup_dir+"k_corr_rband_z01.dat"
### Mass function ###
mf_fits_file = lookup_dir+"mf_fits.dat" # fit to MF of simulation
deltacrit_file = lookup_dir+"deltacrit.dat" # delta_crit(z)
sigma_file = lookup_dir+"sigma.dat" # sigma(M)
### HOD parameters ###
slide_file = lookup_dir+"slide_factors.dat"
# Mmin
Mmin_Ls = 3.91841775e+09
Mmin_Mt = 3.06648452e+11
Mmin_am = 2.57628181e-01
# M1
M1_Ls = 3.70558341e+09
M1_Mt = 4.77678420e+12
M1_am = 3.05963831e-01
# M0
M0_A = 1.78353177
M0_B = -5.98024172
# alpha
alpha_A = 0.0982841
alpha_B = 80.27598
alpha_C = 10.0
# sigma_logM
sigma_A = 0.02583643
sigma_B = 0.68126852
sigma_C = 21.05
sigma_D = 2.5