classy-szfast 0.0.25.post23__tar.gz → 0.0.25.post25__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.25.post23 → classy_szfast-0.0.25.post25}/PKG-INFO +1 -1
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/__init__.py +2 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/classy_szfast.py +9 -7
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/utils.py +1 -1
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/PKG-INFO +1 -1
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/pyproject.toml +1 -1
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/README.md +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/config.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/cosmopower.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/cosmopower_jax.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/emulators_meta_data.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/restore_nn.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/SOURCES.txt +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/requires.txt +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/top_level.txt +0 -0
- {classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/setup.cfg +0 -0
@@ -264,7 +264,9 @@ class Class_szfast(object):
|
|
264
264
|
self.pk_power_fac= (dls)**-1
|
265
265
|
|
266
266
|
|
267
|
-
|
267
|
+
|
268
|
+
self.cp_z_interp_zmax = 20.
|
269
|
+
self.cp_z_interp = self.linspace(0.,self.cp_z_interp_zmax,5000)
|
268
270
|
|
269
271
|
self.csz_base = None
|
270
272
|
|
@@ -744,7 +746,7 @@ class Class_szfast(object):
|
|
744
746
|
kind='linear',
|
745
747
|
axis=-1,
|
746
748
|
copy=True,
|
747
|
-
bounds_error=
|
749
|
+
bounds_error=False,
|
748
750
|
fill_value=np.nan,
|
749
751
|
assume_sorted=False)
|
750
752
|
|
@@ -935,8 +937,8 @@ class Class_szfast(object):
|
|
935
937
|
kind='linear',
|
936
938
|
axis=-1,
|
937
939
|
copy=True,
|
938
|
-
bounds_error=
|
939
|
-
fill_value=
|
940
|
+
bounds_error=False,
|
941
|
+
fill_value=0.,
|
940
942
|
assume_sorted=False)
|
941
943
|
|
942
944
|
def calculate_chi(self,
|
@@ -981,15 +983,15 @@ class Class_szfast(object):
|
|
981
983
|
|
982
984
|
self.cp_predicted_da = self.cp_da_nn[self.cosmo_model].predictions_np(params_dict)[0]
|
983
985
|
|
984
|
-
|
986
|
+
|
985
987
|
self.chi_interp = scipy.interpolate.interp1d(
|
986
988
|
self.cp_z_interp,
|
987
989
|
self.cp_predicted_da*(1.+self.cp_z_interp),
|
988
990
|
kind='linear',
|
989
991
|
axis=-1,
|
990
992
|
copy=True,
|
991
|
-
bounds_error=
|
992
|
-
fill_value=
|
993
|
+
bounds_error=False,
|
994
|
+
fill_value=0,
|
993
995
|
assume_sorted=False)
|
994
996
|
|
995
997
|
def get_cmb_cls(self,ell_factor=True,Tcmb_uk = Tcmb_uk):
|
@@ -60,7 +60,7 @@ z_recombination_max = 1500
|
|
60
60
|
# ------------------
|
61
61
|
# Light speed
|
62
62
|
class Const:
|
63
|
-
c_km_s = 299792.458 # speed of light
|
63
|
+
c_km_s = 299792.458 # speed of light in km/s
|
64
64
|
h_J_s = 6.626070040e-34 # Planck's constant
|
65
65
|
kB_J_K = 1.38064852e-23 # Boltzmann constant
|
66
66
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_bias/__init__.py
RENAMED
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/custom_bias/custom_bias.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/emulators_meta_data.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast/suppress_warnings.py
RENAMED
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/requires.txt
RENAMED
File without changes
|
{classy_szfast-0.0.25.post23 → classy_szfast-0.0.25.post25}/classy_szfast.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|