classy-szfast 0.0.25.post24__py3-none-any.whl → 0.0.25.post25__py3-none-any.whl

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/__init__.py CHANGED
@@ -7,6 +7,8 @@ from .pks_and_sigmas import *
7
7
  from pathlib import Path
8
8
  import sys
9
9
 
10
+ from .utils import Const
11
+
10
12
 
11
13
  from .custom_profiles.custom_profiles import *
12
14
 
@@ -264,7 +264,9 @@ class Class_szfast(object):
264
264
  self.pk_power_fac= (dls)**-1
265
265
 
266
266
 
267
- self.cp_z_interp = self.linspace(0.,20.,5000)
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
 
classy_szfast/utils.py CHANGED
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: classy_szfast
3
- Version: 0.0.25.post24
3
+ Version: 0.0.25.post25
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
@@ -1,6 +1,6 @@
1
- classy_szfast/__init__.py,sha256=E2thrL0Z9oXFfdzwcsu-xbOytudLFTlRlPqVFGlPPPg,279
1
+ classy_szfast/__init__.py,sha256=8XVvg_q0kf97P_glT4o-6Jnss4AG4RgHat4CEslWDKs,305
2
2
  classy_szfast/classy_sz.py,sha256=SCzZYCUSR0c-DAGheX-OlgzzOxOc24d5T4b-ezdhubU,25512
3
- classy_szfast/classy_szfast.py,sha256=xc4SGytjgEQ5Ax8PUoz0f7gT9YOq349fTnX4xbO4ig0,45216
3
+ classy_szfast/classy_szfast.py,sha256=OB7uGa_dU6KjjEQ6ovKuW7Xqm1dDYwT_-IS7eSa2oew,45279
4
4
  classy_szfast/config.py,sha256=v6DGcBHmfn5JtuO48dKyXCh-Dmn0uwOF_izvVOJFnqw,279
5
5
  classy_szfast/cosmopower.py,sha256=ooYK2BDOZSo3XtGHfPtjXHxr5UW-yVngLPkb5gpvTx8,2351
6
6
  classy_szfast/cosmopower_jax.py,sha256=aw-DcTVgBIOxz43tkt90gPzhXi4LbEx29YC-P2vfTvI,6493
@@ -9,12 +9,12 @@ classy_szfast/emulators_meta_data.py,sha256=mXG5LQuJw9QBNE_kxXW8Kx0AUCWpbV6uRO9B
9
9
  classy_szfast/pks_and_sigmas.py,sha256=drtuujE1HhlrYY1hY92DyY5lXlYS1uE15MSuVI4uo6k,6625
10
10
  classy_szfast/restore_nn.py,sha256=DqA9thhTRiGBDVb9zjhqcbF2W4V0AU0vrjJFhnLboU4,21075
11
11
  classy_szfast/suppress_warnings.py,sha256=6wIBml2Sj9DyRGZlZWhuA9hqvpxqrNyYjuz6BPK_a6E,202
12
- classy_szfast/utils.py,sha256=gsem8__xn0RI-e5j3YdOT64Q0vhBKhBGXQeaD8bPEBg,7544
12
+ classy_szfast/utils.py,sha256=dYvrwBzWCxwVEySDzorxnoEi3qBOHf_s8bubKjNsJXo,7552
13
13
  classy_szfast/custom_bias/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  classy_szfast/custom_bias/custom_bias.py,sha256=aR2t5RTIwv7P0m2bsEU0Eq6BTkj4pG10AebH6QpG4qM,486
15
15
  classy_szfast/custom_profiles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  classy_szfast/custom_profiles/custom_profiles.py,sha256=4LZwb2XoqwCyWNmW2s24Z7AJdmgVdaRG7yYaBYe-d9Q,1188
17
- classy_szfast-0.0.25.post24.dist-info/METADATA,sha256=RiYAURQ_6FSgJBN9ctAl0rlzYZRUnjR6HsAKYQbb56o,579
18
- classy_szfast-0.0.25.post24.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
19
- classy_szfast-0.0.25.post24.dist-info/top_level.txt,sha256=hRgqpilUck4lx2KkaWI2y9aCDKqF6pFfGHfNaoPFxv0,14
20
- classy_szfast-0.0.25.post24.dist-info/RECORD,,
17
+ classy_szfast-0.0.25.post25.dist-info/METADATA,sha256=PI_Ftbxlx_e1yozXFHGEG3FXh7WN9DNDHDFh5-bYZUA,579
18
+ classy_szfast-0.0.25.post25.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
19
+ classy_szfast-0.0.25.post25.dist-info/top_level.txt,sha256=hRgqpilUck4lx2KkaWI2y9aCDKqF6pFfGHfNaoPFxv0,14
20
+ classy_szfast-0.0.25.post25.dist-info/RECORD,,