classy-szfast 0.0.25.post22__tar.gz → 0.0.25.post24__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.
Files changed (25) hide show
  1. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/PKG-INFO +2 -2
  2. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/classy_szfast.py +7 -7
  3. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast.egg-info/PKG-INFO +2 -2
  4. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast.egg-info/requires.txt +1 -1
  5. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/pyproject.toml +2 -2
  6. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/README.md +0 -0
  7. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/__init__.py +0 -0
  8. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/classy_sz.py +0 -0
  9. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/config.py +0 -0
  10. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/cosmopower.py +0 -0
  11. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/cosmopower_jax.py +0 -0
  12. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
  13. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/custom_bias/__init__.py +0 -0
  14. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/custom_bias/custom_bias.py +0 -0
  15. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/custom_profiles/__init__.py +0 -0
  16. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
  17. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/emulators_meta_data.py +0 -0
  18. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/pks_and_sigmas.py +0 -0
  19. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/restore_nn.py +0 -0
  20. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/suppress_warnings.py +0 -0
  21. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast/utils.py +0 -0
  22. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast.egg-info/SOURCES.txt +0 -0
  23. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast.egg-info/dependency_links.txt +0 -0
  24. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/classy_szfast.egg-info/top_level.txt +0 -0
  25. {classy_szfast-0.0.25.post22 → classy_szfast-0.0.25.post24}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: classy_szfast
3
- Version: 0.0.25.post22
3
+ Version: 0.0.25.post24
4
4
  Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
5
5
  Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
6
6
  License: MIT
@@ -13,4 +13,4 @@ Requires-Dist: tensorflow
13
13
  Requires-Dist: mcfit>=0.0.22
14
14
  Requires-Dist: get_cosmopower_emus>=0.0.15
15
15
  Requires-Dist: class_sz_data>=0.0.13
16
- Requires-Dist: cosmopower-jax
16
+ Requires-Dist: cosmopower_jax==0.5.5
@@ -13,7 +13,7 @@ from mcfit import TophatVar
13
13
  from scipy.interpolate import CubicSpline
14
14
  import pickle
15
15
  import jax
16
- jax.config.update("jax_enable_x64", True)
16
+ jax.config.update("jax_enable_x64", False)
17
17
  import jax.numpy as jnp
18
18
  import jax.scipy as jscipy
19
19
 
@@ -744,7 +744,7 @@ class Class_szfast(object):
744
744
  kind='linear',
745
745
  axis=-1,
746
746
  copy=True,
747
- bounds_error=None,
747
+ bounds_error=False,
748
748
  fill_value=np.nan,
749
749
  assume_sorted=False)
750
750
 
@@ -935,8 +935,8 @@ class Class_szfast(object):
935
935
  kind='linear',
936
936
  axis=-1,
937
937
  copy=True,
938
- bounds_error=None,
939
- fill_value=np.nan,
938
+ bounds_error=False,
939
+ fill_value=0.,
940
940
  assume_sorted=False)
941
941
 
942
942
  def calculate_chi(self,
@@ -981,15 +981,15 @@ class Class_szfast(object):
981
981
 
982
982
  self.cp_predicted_da = self.cp_da_nn[self.cosmo_model].predictions_np(params_dict)[0]
983
983
 
984
-
984
+
985
985
  self.chi_interp = scipy.interpolate.interp1d(
986
986
  self.cp_z_interp,
987
987
  self.cp_predicted_da*(1.+self.cp_z_interp),
988
988
  kind='linear',
989
989
  axis=-1,
990
990
  copy=True,
991
- bounds_error=None,
992
- fill_value=np.nan,
991
+ bounds_error=False,
992
+ fill_value=0,
993
993
  assume_sorted=False)
994
994
 
995
995
  def get_cmb_cls(self,ell_factor=True,Tcmb_uk = Tcmb_uk):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: classy_szfast
3
- Version: 0.0.25.post22
3
+ Version: 0.0.25.post24
4
4
  Summary: The accelerator of the class_sz code from https://github.com/CLASS-SZ
5
5
  Maintainer-email: Boris Bolliet <bb667@cam.ac.uk>
6
6
  License: MIT
@@ -13,4 +13,4 @@ Requires-Dist: tensorflow
13
13
  Requires-Dist: mcfit>=0.0.22
14
14
  Requires-Dist: get_cosmopower_emus>=0.0.15
15
15
  Requires-Dist: class_sz_data>=0.0.13
16
- Requires-Dist: cosmopower-jax
16
+ Requires-Dist: cosmopower_jax==0.5.5
@@ -4,4 +4,4 @@ tensorflow
4
4
  mcfit>=0.0.22
5
5
  get_cosmopower_emus>=0.0.15
6
6
  class_sz_data>=0.0.13
7
- cosmopower-jax
7
+ cosmopower_jax==0.5.5
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
- version = "0.0.25.post22"
6
+ version = "0.0.25.post24"
7
7
  license = { text = "MIT" }
8
8
  name = "classy_szfast"
9
9
  maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]
@@ -16,7 +16,7 @@ dependencies = [
16
16
  "mcfit>=0.0.22",
17
17
  "get_cosmopower_emus>=0.0.15",
18
18
  "class_sz_data>=0.0.13",
19
- "cosmopower-jax"
19
+ "cosmopower_jax==0.5.5"
20
20
  ]
21
21
 
22
22
  [project.urls]