classy-szfast 0.0.22__tar.gz → 0.0.24__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/PKG-INFO +1 -1
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/classy_szfast.py +5 -2
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/cosmopower.py +45 -6
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast.egg-info/PKG-INFO +1 -1
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/pyproject.toml +1 -1
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/README.md +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/__init__.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/config.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/restore_nn.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/utils.py +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast.egg-info/SOURCES.txt +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast.egg-info/requires.txt +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast.egg-info/top_level.txt +0 -0
- {classy_szfast-0.0.22 → classy_szfast-0.0.24}/setup.cfg +0 -0
@@ -64,7 +64,10 @@ class Class_szfast(object):
|
|
64
64
|
self.logA_fast = 0
|
65
65
|
|
66
66
|
|
67
|
-
|
67
|
+
try:
|
68
|
+
set_verbosity(params_settings["classy_sz_verbose"])
|
69
|
+
except:
|
70
|
+
pass
|
68
71
|
self.logger = logging.getLogger(__name__)
|
69
72
|
|
70
73
|
|
@@ -73,7 +76,7 @@ class Class_szfast(object):
|
|
73
76
|
|
74
77
|
|
75
78
|
# cosmopower emulators
|
76
|
-
self.cp_path_to_cosmopower_organization = path_to_cosmopower_organization + '/'
|
79
|
+
# self.cp_path_to_cosmopower_organization = path_to_cosmopower_organization + '/'
|
77
80
|
self.cp_tt_nn = cp_tt_nn
|
78
81
|
self.cp_te_nn = cp_te_nn
|
79
82
|
self.cp_ee_nn = cp_ee_nn
|
@@ -43,7 +43,15 @@ emulator_dict['ede'] = {}
|
|
43
43
|
emulator_dict['mnu-3states'] = {}
|
44
44
|
emulator_dict['ede-v2'] = {}
|
45
45
|
|
46
|
-
|
46
|
+
### note on ncdm:
|
47
|
+
# N_ncdm : 3
|
48
|
+
# m_ncdm : 0.02, 0.02, 0.02
|
49
|
+
# deg_ncdm: 1
|
50
|
+
# and
|
51
|
+
# N_ncdm: 1
|
52
|
+
# deg_ncdm: 3
|
53
|
+
# m_ncdm : 0.02
|
54
|
+
# are equivalent but deg_ncdm: 3 is much faster.
|
47
55
|
|
48
56
|
|
49
57
|
emulator_dict['lcdm']['TT'] = 'TT_v1'
|
@@ -60,6 +68,11 @@ emulator_dict['lcdm']['HZ'] = 'HZ_v1'
|
|
60
68
|
emulator_dict['lcdm']['S8Z'] = 'S8Z_v1'
|
61
69
|
emulator_dict['lcdm']['default'] = {}
|
62
70
|
emulator_dict['lcdm']['default']['tau_reio'] = 0.054
|
71
|
+
emulator_dict['lcdm']['default']['H0'] = 67.66
|
72
|
+
emulator_dict['lcdm']['default']['ln10^{10}A_s'] = 3.047
|
73
|
+
emulator_dict['lcdm']['default']['omega_b'] = 0.02242
|
74
|
+
emulator_dict['lcdm']['default']['omega_cdm'] = 0.11933
|
75
|
+
emulator_dict['lcdm']['default']['n_s'] = 0.9665
|
63
76
|
emulator_dict['lcdm']['default']['N_ur'] = 2.0328
|
64
77
|
emulator_dict['lcdm']['default']['N_ncdm'] = 1
|
65
78
|
emulator_dict['lcdm']['default']['m_ncdm'] = 0.06
|
@@ -76,6 +89,11 @@ emulator_dict['mnu']['HZ'] = 'HZ_mnu_v1'
|
|
76
89
|
emulator_dict['mnu']['S8Z'] = 'S8Z_mnu_v1'
|
77
90
|
emulator_dict['mnu']['default'] = {}
|
78
91
|
emulator_dict['mnu']['default']['tau_reio'] = 0.054
|
92
|
+
emulator_dict['mnu']['default']['H0'] = 67.66
|
93
|
+
emulator_dict['mnu']['default']['ln10^{10}A_s'] = 3.047
|
94
|
+
emulator_dict['mnu']['default']['omega_b'] = 0.02242
|
95
|
+
emulator_dict['mnu']['default']['omega_cdm'] = 0.11933
|
96
|
+
emulator_dict['mnu']['default']['n_s'] = 0.9665
|
79
97
|
emulator_dict['mnu']['default']['N_ur'] = 2.0328
|
80
98
|
emulator_dict['mnu']['default']['N_ncdm'] = 1
|
81
99
|
emulator_dict['mnu']['default']['m_ncdm'] = 0.06
|
@@ -92,7 +110,12 @@ emulator_dict['neff']['HZ'] = 'HZ_neff_v1'
|
|
92
110
|
emulator_dict['neff']['S8Z'] = 'S8Z_neff_v1'
|
93
111
|
emulator_dict['neff']['default'] = {}
|
94
112
|
emulator_dict['neff']['default']['tau_reio'] = 0.054
|
95
|
-
emulator_dict['neff']['default']['
|
113
|
+
emulator_dict['neff']['default']['H0'] = 67.66
|
114
|
+
emulator_dict['neff']['default']['ln10^{10}A_s'] = 3.047
|
115
|
+
emulator_dict['neff']['default']['omega_b'] = 0.02242
|
116
|
+
emulator_dict['neff']['default']['omega_cdm'] = 0.11933
|
117
|
+
emulator_dict['neff']['default']['n_s'] = 0.9665
|
118
|
+
emulator_dict['neff']['default']['N_ur'] = 2.0328 # this is the default value in class v2 to get Neff = 3.046
|
96
119
|
emulator_dict['neff']['default']['N_ncdm'] = 1
|
97
120
|
emulator_dict['neff']['default']['m_ncdm'] = 0.06
|
98
121
|
|
@@ -109,7 +132,12 @@ emulator_dict['wcdm']['HZ'] = 'HZ_w_v1'
|
|
109
132
|
emulator_dict['wcdm']['S8Z'] = 'S8Z_w_v1'
|
110
133
|
emulator_dict['wcdm']['default'] = {}
|
111
134
|
emulator_dict['wcdm']['default']['tau_reio'] = 0.054
|
112
|
-
emulator_dict['wcdm']['default']['
|
135
|
+
emulator_dict['wcdm']['default']['H0'] = 67.66
|
136
|
+
emulator_dict['wcdm']['default']['ln10^{10}A_s'] = 3.047
|
137
|
+
emulator_dict['wcdm']['default']['omega_b'] = 0.02242
|
138
|
+
emulator_dict['wcdm']['default']['omega_cdm'] = 0.11933
|
139
|
+
emulator_dict['wcdm']['default']['n_s'] = 0.9665
|
140
|
+
emulator_dict['wcdm']['default']['N_ur'] = 2.0328 # this is the default value in class v2 to get Neff = 3.046
|
113
141
|
emulator_dict['wcdm']['default']['N_ncdm'] = 1
|
114
142
|
emulator_dict['wcdm']['default']['m_ncdm'] = 0.06
|
115
143
|
|
@@ -126,10 +154,15 @@ emulator_dict['ede']['S8Z'] = 'S8Z_v1'
|
|
126
154
|
emulator_dict['ede']['default'] = {}
|
127
155
|
emulator_dict['ede']['default']['fEDE'] = 0.001
|
128
156
|
emulator_dict['ede']['default']['tau_reio'] = 0.054
|
157
|
+
emulator_dict['ede']['default']['H0'] = 67.66
|
158
|
+
emulator_dict['ede']['default']['ln10^{10}A_s'] = 3.047
|
159
|
+
emulator_dict['ede']['default']['omega_b'] = 0.02242
|
160
|
+
emulator_dict['ede']['default']['omega_cdm'] = 0.11933
|
161
|
+
emulator_dict['ede']['default']['n_s'] = 0.9665
|
129
162
|
emulator_dict['ede']['default']['log10z_c'] = 3.562 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
|
130
163
|
emulator_dict['ede']['default']['thetai_scf'] = 2.83 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
|
131
164
|
emulator_dict['ede']['default']['r'] = 0.
|
132
|
-
emulator_dict['ede']['default']['N_ur'] = 0.00641
|
165
|
+
emulator_dict['ede']['default']['N_ur'] = 0.00641 # this is the default value in class v2 to get Neff = 3.046
|
133
166
|
emulator_dict['ede']['default']['N_ncdm'] = 3
|
134
167
|
emulator_dict['ede']['default']['m_ncdm'] = 0.02
|
135
168
|
|
@@ -146,7 +179,12 @@ emulator_dict['mnu-3states']['HZ'] = 'HZ_v1'
|
|
146
179
|
emulator_dict['mnu-3states']['S8Z'] = 'S8Z_v1'
|
147
180
|
emulator_dict['mnu-3states']['default'] = {}
|
148
181
|
emulator_dict['mnu-3states']['default']['tau_reio'] = 0.054
|
149
|
-
emulator_dict['mnu-3states']['default']['
|
182
|
+
emulator_dict['mnu-3states']['default']['H0'] = 67.66
|
183
|
+
emulator_dict['mnu-3states']['default']['ln10^{10}A_s'] = 3.047
|
184
|
+
emulator_dict['mnu-3states']['default']['omega_b'] = 0.02242
|
185
|
+
emulator_dict['mnu-3states']['default']['omega_cdm'] = 0.11933
|
186
|
+
emulator_dict['mnu-3states']['default']['n_s'] = 0.9665
|
187
|
+
emulator_dict['mnu-3states']['default']['N_ur'] = 0.00641 # this is the default value in class v2 to get Neff = 3.046
|
150
188
|
emulator_dict['mnu-3states']['default']['N_ncdm'] = 3
|
151
189
|
emulator_dict['mnu-3states']['default']['m_ncdm'] = 0.02
|
152
190
|
|
@@ -168,10 +206,11 @@ emulator_dict['ede-v2']['default']['H0'] = 67.66
|
|
168
206
|
emulator_dict['ede-v2']['default']['ln10^{10}A_s'] = 3.047
|
169
207
|
emulator_dict['ede-v2']['default']['omega_b'] = 0.02242
|
170
208
|
emulator_dict['ede-v2']['default']['omega_cdm'] = 0.11933
|
209
|
+
emulator_dict['ede-v2']['default']['n_s'] = 0.9665
|
171
210
|
emulator_dict['ede-v2']['default']['log10z_c'] = 3.562 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
|
172
211
|
emulator_dict['ede-v2']['default']['thetai_scf'] = 2.83 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
|
173
212
|
emulator_dict['ede-v2']['default']['r'] = 0.
|
174
|
-
emulator_dict['ede-v2']['default']['N_ur'] = 0.00441
|
213
|
+
emulator_dict['ede-v2']['default']['N_ur'] = 0.00441 # this is the default value in class v3 to get Neff = 3.044
|
175
214
|
emulator_dict['ede-v2']['default']['N_ncdm'] = 3
|
176
215
|
emulator_dict['ede-v2']['default']['m_ncdm'] = 0.02
|
177
216
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/cosmosis_classy_szfast_interface.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.22 → classy_szfast-0.0.24}/classy_szfast/custom_profiles/custom_profiles.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|