classy-szfast 0.0.25.post21__tar.gz → 0.0.25.post23__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.post21 → classy_szfast-0.0.25.post23}/PKG-INFO +2 -2
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/classy_szfast.py +5 -3
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/PKG-INFO +2 -2
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/requires.txt +1 -1
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/pyproject.toml +2 -2
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/README.md +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/__init__.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/config.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/cosmopower.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/cosmopower_jax.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/emulators_meta_data.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/restore_nn.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/utils.py +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/SOURCES.txt +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/top_level.txt +0 -0
- {classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: classy_szfast
|
3
|
-
Version: 0.0.25.
|
3
|
+
Version: 0.0.25.post23
|
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:
|
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",
|
16
|
+
jax.config.update("jax_enable_x64", False)
|
17
17
|
import jax.numpy as jnp
|
18
18
|
import jax.scipy as jscipy
|
19
19
|
|
@@ -715,6 +715,8 @@ class Class_szfast(object):
|
|
715
715
|
self.cp_predicted_der = self.cp_der_nn[self.cosmo_model].ten_to_predictions_np(params_dict)[0]
|
716
716
|
self.sigma8 = self.cp_predicted_der[1]
|
717
717
|
self.Neff = self.cp_predicted_der[4]
|
718
|
+
self.ra_star = self.cp_predicted_der[12]
|
719
|
+
|
718
720
|
return 0
|
719
721
|
|
720
722
|
|
@@ -839,7 +841,7 @@ class Class_szfast(object):
|
|
839
841
|
pk_re = self.transpose(pk_re)
|
840
842
|
|
841
843
|
|
842
|
-
return pk_re, k_arr
|
844
|
+
return pk_re.flatten(), k_arr
|
843
845
|
|
844
846
|
|
845
847
|
def calculate_pknl_at_z(self,
|
@@ -887,7 +889,7 @@ class Class_szfast(object):
|
|
887
889
|
pk_re = self.transpose(pk_re)
|
888
890
|
|
889
891
|
|
890
|
-
return pk_re, k_arr
|
892
|
+
return pk_re.flatten(), k_arr
|
891
893
|
|
892
894
|
|
893
895
|
def calculate_hubble(self,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: classy_szfast
|
3
|
-
Version: 0.0.25.
|
3
|
+
Version: 0.0.25.post23
|
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:
|
16
|
+
Requires-Dist: 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.
|
6
|
+
version = "0.0.25.post23"
|
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
|
-
"
|
19
|
+
"cosmopower_jax==0.5.5"
|
20
20
|
]
|
21
21
|
|
22
22
|
[project.urls]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_bias/__init__.py
RENAMED
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/custom_bias/custom_bias.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/emulators_meta_data.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast/suppress_warnings.py
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post21 → classy_szfast-0.0.25.post23}/classy_szfast.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|