classy-szfast 0.0.25.post7__tar.gz → 0.0.25.post8__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.post7 → classy_szfast-0.0.25.post8}/PKG-INFO +1 -1
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/classy_szfast.py +5 -1
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/PKG-INFO +1 -1
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/pyproject.toml +1 -1
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/README.md +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/__init__.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/classy_sz.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/config.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/cosmopower.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/cosmopower_jax.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_bias/__init__.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_bias/custom_bias.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_profiles/__init__.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/emulators_meta_data.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/pks_and_sigmas.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/restore_nn.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/suppress_warnings.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/utils.py +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/SOURCES.txt +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/dependency_links.txt +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/requires.txt +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/top_level.txt +0 -0
- {classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/setup.cfg +0 -0
@@ -575,13 +575,17 @@ class Class_szfast(object):
|
|
575
575
|
var = P.copy()
|
576
576
|
|
577
577
|
dvar = P.copy()
|
578
|
+
# dvar_grads = P.copy()
|
578
579
|
|
579
580
|
for iz,zp in enumerate(self.cszfast_pk_grid_z):
|
580
581
|
|
581
582
|
R, var[:,iz] = TophatVar(k, lowring=True)(P[:,iz], extrap=True)
|
582
583
|
|
583
|
-
dvar[:,iz] = self.gradient(var[:,iz], R)
|
584
|
+
# dvar[:,iz] = self.gradient(var[:,iz], R) ## old form
|
585
|
+
_, dvar[:,iz] = TophatVar(k, lowring=True, deriv=1)(P[:,iz]*k, extrap=True) # new form
|
584
586
|
|
587
|
+
# dvar = dvar/(2.*np.sqrt(var))
|
588
|
+
# print(dvar_grads/dvar)
|
585
589
|
# print(k)
|
586
590
|
# print(R)
|
587
591
|
# print(k*R)
|
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.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_bias/__init__.py
RENAMED
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_bias/custom_bias.py
RENAMED
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/custom_profiles/__init__.py
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/emulators_meta_data.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast/suppress_warnings.py
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/requires.txt
RENAMED
File without changes
|
{classy_szfast-0.0.25.post7 → classy_szfast-0.0.25.post8}/classy_szfast.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|