classy-szfast 0.0.25.post4__tar.gz → 0.0.25.post6__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.post4 → classy_szfast-0.0.25.post6}/PKG-INFO +1 -1
  2. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/classy_szfast.py +80 -18
  3. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/emulators_meta_data.py +18 -6
  4. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/utils.py +11 -0
  5. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast.egg-info/PKG-INFO +1 -1
  6. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/pyproject.toml +1 -1
  7. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/README.md +0 -0
  8. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/__init__.py +0 -0
  9. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/classy_sz.py +0 -0
  10. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/config.py +0 -0
  11. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/cosmopower.py +0 -0
  12. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/cosmopower_jax.py +0 -0
  13. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/cosmosis_classy_szfast_interface.py +0 -0
  14. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/custom_bias/__init__.py +0 -0
  15. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/custom_bias/custom_bias.py +0 -0
  16. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/custom_profiles/__init__.py +0 -0
  17. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/custom_profiles/custom_profiles.py +0 -0
  18. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/pks_and_sigmas.py +0 -0
  19. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/restore_nn.py +0 -0
  20. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast/suppress_warnings.py +0 -0
  21. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast.egg-info/SOURCES.txt +0 -0
  22. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast.egg-info/dependency_links.txt +0 -0
  23. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast.egg-info/requires.txt +0 -0
  24. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/classy_szfast.egg-info/top_level.txt +0 -0
  25. {classy_szfast-0.0.25.post4 → classy_szfast-0.0.25.post6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.25.post4
3
+ Version: 0.0.25.post6
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,4 +1,5 @@
1
1
  from .utils import *
2
+ from .utils import Const
2
3
  from .config import *
3
4
  import numpy as np
4
5
  from .emulators_meta_data import emulator_dict, dofftlog_alphas, cp_l_max_scalars, cosmo_model_list
@@ -123,11 +124,16 @@ class Class_szfast(object):
123
124
  self.pi = jnp.pi
124
125
  self.transpose = jnp.transpose
125
126
  self.asarray = jnp.asarray
127
+ self.log = jnp.log
128
+ self.pow = jnp.power
129
+
130
+ self.sigma_B = 2. * self.pow(self.pi,5) * self.pow(Const._k_B_,4) / 15. / self.pow(Const._h_P_,3) / self.pow(Const._c_,2)
126
131
 
127
132
  self.linspace = jnp.linspace
128
133
  self.geomspace = jnp.geomspace
129
134
  self.arange = jnp.arange
130
135
  self.zeros = jnp.zeros
136
+ self.gradient = jnp.gradient
131
137
 
132
138
 
133
139
  else:
@@ -137,13 +143,18 @@ class Class_szfast(object):
137
143
 
138
144
  self.pi = np.pi
139
145
  self.transpose = np.transpose
146
+ self.pow = np.power
147
+
148
+ self.sigma_B = 2. * self.pow(self.pi,5) * self.pow(Const._k_B_,4) / 15. / self.pow(Const._h_P_,3) / self.pow(Const._c_,2)
149
+
140
150
 
141
151
  self.linspace = np.linspace
142
152
  self.geomspace = np.geomspace
143
153
  self.arange = np.arange
144
154
  self.zeros = np.zeros
145
155
  self.asarray = np.asarray
146
-
156
+ self.log = np.log
157
+ self.gradient = np.gradient
147
158
 
148
159
 
149
160
  self.cp_ls = self.arange(2,self.cp_lmax+1)
@@ -183,12 +194,12 @@ class Class_szfast(object):
183
194
 
184
195
 
185
196
  self.cszfast_pk_grid_z = self.linspace(0.,self.cszfast_pk_grid_zmax,self.cszfast_pk_grid_nz)
186
- self.cszfast_pk_grid_ln1pz = np.log(1.+self.cszfast_pk_grid_z)
197
+ self.cszfast_pk_grid_ln1pz = self.log(1.+self.cszfast_pk_grid_z)
187
198
 
188
199
 
189
200
  self.cszfast_pk_grid_k = self.geomspace(self.cp_kmin,self.cp_kmax,self.cp_nk)[::self.cp_ndspl_k]
190
201
 
191
- self.cszfast_pk_grid_lnk = np.log(self.cszfast_pk_grid_k)
202
+ self.cszfast_pk_grid_lnk = self.log(self.cszfast_pk_grid_k)
192
203
 
193
204
  self.cszfast_pk_grid_nk = len(self.geomspace(self.cp_kmin,self.cp_kmax,self.cp_nk)[::self.cp_ndspl_k]) # has to be same as ndimSZ, and the same as dimension of cosmopower pk emulators
194
205
 
@@ -198,7 +209,7 @@ class Class_szfast(object):
198
209
 
199
210
  self.cszfast_pk_grid_nz = v
200
211
  self.cszfast_pk_grid_z = self.linspace(0.,self.cszfast_pk_grid_zmax,self.cszfast_pk_grid_nz)
201
- self.cszfast_pk_grid_ln1pz = np.log(1.+self.cszfast_pk_grid_z)
212
+ self.cszfast_pk_grid_ln1pz = self.log(1.+self.cszfast_pk_grid_z)
202
213
 
203
214
  self.cszfast_pk_grid_pknl_flat = self.zeros(self.cszfast_pk_grid_nz*self.cszfast_pk_grid_nk)
204
215
  self.cszfast_pk_grid_pkl_flat = self.zeros(self.cszfast_pk_grid_nz*self.cszfast_pk_grid_nk)
@@ -254,6 +265,57 @@ class Class_szfast(object):
254
265
 
255
266
  self.params_for_emulators = {}
256
267
 
268
+
269
+ def get_all_relevant_params(self,params_values_dict=None):
270
+ if params_values_dict:
271
+ params_values = params_values_dict.copy()
272
+ else:
273
+ params_values = self.params_for_emulators
274
+ update_params_with_defaults(params_values, self.emulator_dict[self.cosmo_model]['default'])
275
+ params_values['h'] = params_values['H0']/100.
276
+ params_values['Omega_b'] = params_values['omega_b']/params_values['h']**2.
277
+ params_values['Omega_cdm'] = params_values['omega_cdm']/params_values['h']**2.
278
+ params_values['Omega0_g'] = (4.*self.sigma_B/Const._c_*pow(params_values['T_cmb'],4.)) / (3.*Const._c_*Const._c_*1.e10*params_values['h']*params_values['h']/Const._Mpc_over_m_/Const._Mpc_over_m_/8./self.pi/Const._G_)
279
+ params_values['Omega0_ur'] = params_values['N_ur']*7./8.*self.pow(4./11.,4./3.)*params_values['Omega0_g']
280
+ params_values['Omega0_ncdm'] = params_values['deg_ncdm']*params_values['m_ncdm']/(93.14*params_values['h']*params_values['h']) ## valid only in standard cases, default T_ncdm etc
281
+ params_values['Omega_Lambda'] = 1. - params_values['Omega0_g'] - params_values['Omega_b'] - params_values['Omega_cdm'] - params_values['Omega0_ncdm'] - params_values['Omega0_ur']
282
+ params_values['Omega0_m'] = params_values['Omega_cdm'] + params_values['Omega_b'] + params_values['Omega0_ncdm']
283
+ params_values['Omega0_r'] = params_values['Omega0_ur']+params_values['Omega0_g']
284
+ params_values['Omega0_m_nonu'] = params_values['Omega0_m'] - params_values['Omega0_ncdm']
285
+ params_values['Omega0_cb'] = params_values['Omega0_m_nonu']
286
+ H0 = params_values['H0']*1.e3/Const._c_
287
+ params_values['Rho_crit_0'] = (3./(8.*self.pi*Const._G_*Const._M_sun_))*pow(Const._Mpc_over_m_,1)*self.pow(Const._c_,2)*self.pow(H0,2)/self.pow(params_values['h'],2)
288
+ return params_values
289
+
290
+
291
+ def get_rho_crit_at_z(self,z,params_values_dict=None):
292
+ params_values = self.get_all_relevant_params(params_values_dict)
293
+ self.calculate_hubble(**params_values_dict)
294
+ H = self.hz_interp(z)
295
+ rho_crit = (3./(8.*self.pi*Const._G_*Const._M_sun_))*pow(Const._Mpc_over_m_,1)*self.pow(Const._c_,2)*self.pow(H,2)/self.pow(params_values['h'],2)
296
+ return rho_crit
297
+
298
+ def get_r_delta_of_m_delta_at_z(self,delta,m_delta,z,params_values_dict=None):
299
+ if params_values_dict:
300
+ params_values = params_values_dict.copy()
301
+ else:
302
+ params_values = self.params_for_emulators
303
+ rho_crit = self.get_rho_crit_at_z(z,params_values_dict=params_values_dict)
304
+ return (m_delta*3./4./self.pi/delta/rho_crit)**(1./3.)
305
+
306
+ def get_nu_at_z_and_m(self,z,m,params_values_dict=None):
307
+ if params_values_dict:
308
+ params_values = params_values_dict.copy()
309
+ else:
310
+ params_values = self.params_for_emulators
311
+
312
+ delta_c = (3./20.)*self.pow(12.*self.pi,2./3.) # this is = 1.686470199841145
313
+ # note here we dont use matter dependent delta_c
314
+ # which would be multiplied by (1.+0.012299*log10(pvecback[pba->index_bg_Omega_m]));
315
+ sigma = 1.
316
+ return (delta_c/sigma)**2
317
+
318
+
257
319
  def find_As(self,params_cp):
258
320
 
259
321
  sigma_8_asked = params_cp["sigma8"]
@@ -494,7 +556,7 @@ class Class_szfast(object):
494
556
  if self.jax_mode:
495
557
  self.pkl_interp = None
496
558
  else:
497
- self.pkl_interp = PowerSpectrumInterpolator(z_arr,k_arr,np.log(pk_re).T,logP=True)
559
+ self.pkl_interp = PowerSpectrumInterpolator(z_arr,k_arr,self.log(pk_re).T,logP=True)
498
560
 
499
561
  self.cszfast_pk_grid_pk = pk_re
500
562
  self.cszfast_pk_grid_pkl_flat = pk_re.flatten()
@@ -502,9 +564,7 @@ class Class_szfast(object):
502
564
  return pk_re, k_arr, z_arr
503
565
 
504
566
 
505
- def calculate_sigma(self,
506
-
507
- **params_values_dict):
567
+ def calculate_sigma(self,**params_values_dict):
508
568
 
509
569
  params_values = params_values_dict.copy()
510
570
 
@@ -520,7 +580,7 @@ class Class_szfast(object):
520
580
 
521
581
  R, var[:,iz] = TophatVar(k, lowring=True)(P[:,iz], extrap=True)
522
582
 
523
- dvar[:,iz] = np.gradient(var[:,iz], R)
583
+ dvar[:,iz] = self.gradient(var[:,iz], R)
524
584
 
525
585
  # print(k)
526
586
  # print(R)
@@ -528,11 +588,11 @@ class Class_szfast(object):
528
588
  # exit(0)
529
589
 
530
590
 
531
- self.cszfast_pk_grid_lnr = np.log(R)
591
+ self.cszfast_pk_grid_lnr = self.log(R)
532
592
  self.cszfast_pk_grid_sigma2 = var
533
593
 
534
594
  self.cszfast_pk_grid_sigma2_flat = var.flatten()
535
- self.cszfast_pk_grid_lnsigma2_flat = 0.5*np.log(var.flatten())
595
+ self.cszfast_pk_grid_lnsigma2_flat = 0.5*self.log(var.flatten())
536
596
 
537
597
  self.cszfast_pk_grid_dsigma2 = dvar
538
598
  self.cszfast_pk_grid_dsigma2_flat = dvar.flatten()
@@ -629,7 +689,7 @@ class Class_szfast(object):
629
689
  pk_re = self.transpose(pk_re)
630
690
 
631
691
 
632
- self.pknl_interp = PowerSpectrumInterpolator(z_arr,k_arr,np.log(pk_re).T,logP=True)
692
+ self.pknl_interp = PowerSpectrumInterpolator(z_arr,k_arr,self.log(pk_re).T,logP=True)
633
693
 
634
694
 
635
695
  self.cszfast_pk_grid_pknl = pk_re
@@ -638,6 +698,8 @@ class Class_szfast(object):
638
698
  return pk_re, k_arr, z_arr
639
699
 
640
700
 
701
+
702
+
641
703
  def calculate_pkl_at_z(self,
642
704
  z_asked,
643
705
  params_values_dict=None):
@@ -860,9 +922,9 @@ class Class_szfast(object):
860
922
  def get_pknl_at_k_and_z(self,k_asked,z_asked):
861
923
  # def get_pkl_at_k_and_z(self,k_asked,z_asked,method = 'cloughtocher'):
862
924
  # if method == 'linear':
863
- # pk = self.pkl_linearnd_interp(z_asked,np.log(k_asked))
925
+ # pk = self.pkl_linearnd_interp(z_asked,self.log(k_asked))
864
926
  # elif method == 'cloughtocher':
865
- # pk = self.pkl_cloughtocher_interp(z_asked,np.log(k_asked))
927
+ # pk = self.pkl_cloughtocher_interp(z_asked,self.log(k_asked))
866
928
  # return np.exp(pk)
867
929
  return self.pknl_interp.P(z_asked,k_asked)
868
930
 
@@ -870,18 +932,18 @@ class Class_szfast(object):
870
932
  # def get_pkl_at_k_and_z(self,k_asked,z_asked,method = 'cloughtocher'):
871
933
  def get_pkl_at_k_and_z(self,k_asked,z_asked):
872
934
  # if method == 'linear':
873
- # pk = self.pknl_linearnd_interp(z_asked,np.log(k_asked))
935
+ # pk = self.pknl_linearnd_interp(z_asked,self.log(k_asked))
874
936
  # elif method == 'cloughtocher':
875
- # pk = self.pknl_cloughtocher_interp(z_asked,np.log(k_asked))
937
+ # pk = self.pknl_cloughtocher_interp(z_asked,self.log(k_asked))
876
938
  # return np.exp(pk)
877
939
  return self.pkl_interp.P(z_asked,k_asked)
878
940
 
879
941
  # function used to overwrite the classy function in fast mode.
880
942
  def get_sigma_at_r_and_z(self,r_asked,z_asked):
881
943
  # if method == 'linear':
882
- # pk = self.pknl_linearnd_interp(z_asked,np.log(k_asked))
944
+ # pk = self.pknl_linearnd_interp(z_asked,self.log(k_asked))
883
945
  # elif method == 'cloughtocher':
884
- # pk = self.pknl_cloughtocher_interp(z_asked,np.log(k_asked))
946
+ # pk = self.pknl_cloughtocher_interp(z_asked,self.log(k_asked))
885
947
  # return np.exp(pk)
886
948
  k = self.cszfast_pk_grid_k
887
949
  P_at_z = self.get_pkl_at_k_and_z(k,z_asked)
@@ -87,6 +87,8 @@ emulator_dict['lcdm']['default']['n_s'] = 0.9665
87
87
  emulator_dict['lcdm']['default']['N_ur'] = 2.0328
88
88
  emulator_dict['lcdm']['default']['N_ncdm'] = 1
89
89
  emulator_dict['lcdm']['default']['m_ncdm'] = 0.06
90
+ emulator_dict['lcdm']['default']['deg_ncdm'] = 1
91
+ emulator_dict['lcdm']['default']['T_cmb'] = 2.7255
90
92
 
91
93
  emulator_dict['mnu']['TT'] = 'TT_mnu_v1'
92
94
  emulator_dict['mnu']['TE'] = 'TE_mnu_v1'
@@ -107,7 +109,9 @@ emulator_dict['mnu']['default']['omega_cdm'] = 0.11933
107
109
  emulator_dict['mnu']['default']['n_s'] = 0.9665
108
110
  emulator_dict['mnu']['default']['N_ur'] = 2.0328
109
111
  emulator_dict['mnu']['default']['N_ncdm'] = 1
112
+ emulator_dict['mnu']['default']['deg_ncdm'] = 1
110
113
  emulator_dict['mnu']['default']['m_ncdm'] = 0.06
114
+ emulator_dict['mnu']['default']['T_cmb'] = 2.7255
111
115
 
112
116
  emulator_dict['neff']['TT'] = 'TT_neff_v1'
113
117
  emulator_dict['neff']['TE'] = 'TE_neff_v1'
@@ -128,8 +132,9 @@ emulator_dict['neff']['default']['omega_cdm'] = 0.11933
128
132
  emulator_dict['neff']['default']['n_s'] = 0.9665
129
133
  emulator_dict['neff']['default']['N_ur'] = 2.0328 # this is the default value in class v2 to get Neff = 3.046
130
134
  emulator_dict['neff']['default']['N_ncdm'] = 1
135
+ emulator_dict['neff']['default']['deg_ncdm'] = 1
131
136
  emulator_dict['neff']['default']['m_ncdm'] = 0.06
132
-
137
+ emulator_dict['neff']['default']['T_cmb'] = 2.7255
133
138
 
134
139
  emulator_dict['wcdm']['TT'] = 'TT_w_v1'
135
140
  emulator_dict['wcdm']['TE'] = 'TE_w_v1'
@@ -151,6 +156,9 @@ emulator_dict['wcdm']['default']['n_s'] = 0.9665
151
156
  emulator_dict['wcdm']['default']['N_ur'] = 2.0328 # this is the default value in class v2 to get Neff = 3.046
152
157
  emulator_dict['wcdm']['default']['N_ncdm'] = 1
153
158
  emulator_dict['wcdm']['default']['m_ncdm'] = 0.06
159
+ emulator_dict['wcdm']['default']['deg_ncdm'] = 1
160
+ emulator_dict['wcdm']['default']['T_cmb'] = 2.7255
161
+
154
162
 
155
163
  emulator_dict['ede']['TT'] = 'TT_v1'
156
164
  emulator_dict['ede']['TE'] = 'TE_v1'
@@ -174,9 +182,10 @@ emulator_dict['ede']['default']['log10z_c'] = 3.562 # e.g. from https://github.c
174
182
  emulator_dict['ede']['default']['thetai_scf'] = 2.83 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
175
183
  emulator_dict['ede']['default']['r'] = 0.
176
184
  emulator_dict['ede']['default']['N_ur'] = 0.00641 # this is the default value in class v2 to get Neff = 3.046
177
- emulator_dict['ede']['default']['N_ncdm'] = 3
185
+ emulator_dict['ede']['default']['N_ncdm'] = 1 ### use equivalence with deg_ncdm = 3
186
+ emulator_dict['ede']['default']['deg_ncdm'] = 3 ### use equivalence with deg_ncdm = 3 for faster computation
178
187
  emulator_dict['ede']['default']['m_ncdm'] = 0.02
179
-
188
+ emulator_dict['ede']['default']['T_cmb'] = 2.7255
180
189
 
181
190
  emulator_dict['mnu-3states']['TT'] = 'TT_v1'
182
191
  emulator_dict['mnu-3states']['TE'] = 'TE_v1'
@@ -196,8 +205,10 @@ emulator_dict['mnu-3states']['default']['omega_b'] = 0.02242
196
205
  emulator_dict['mnu-3states']['default']['omega_cdm'] = 0.11933
197
206
  emulator_dict['mnu-3states']['default']['n_s'] = 0.9665
198
207
  emulator_dict['mnu-3states']['default']['N_ur'] = 0.00641 # this is the default value in class v2 to get Neff = 3.046
199
- emulator_dict['mnu-3states']['default']['N_ncdm'] = 3
208
+ emulator_dict['mnu-3states']['default']['N_ncdm'] = 1 ### use equivalence with deg_ncdm = 3
209
+ emulator_dict['mnu-3states']['default']['deg_ncdm'] = 3 ### use equivalence with deg_ncdm = 3 for faster computation
200
210
  emulator_dict['mnu-3states']['default']['m_ncdm'] = 0.02
211
+ emulator_dict['mnu-3states']['default']['T_cmb'] = 2.7255
201
212
 
202
213
  emulator_dict['ede-v2']['TT'] = 'TT_v2'
203
214
  emulator_dict['ede-v2']['TE'] = 'TE_v2'
@@ -222,9 +233,10 @@ emulator_dict['ede-v2']['default']['log10z_c'] = 3.562 # e.g. from https://githu
222
233
  emulator_dict['ede-v2']['default']['thetai_scf'] = 2.83 # e.g. from https://github.com/mwt5345/class_ede/blob/master/class/notebooks-ede/2-CMB-Comparison.ipynb
223
234
  emulator_dict['ede-v2']['default']['r'] = 0.
224
235
  emulator_dict['ede-v2']['default']['N_ur'] = 0.00441 # this is the default value in class v3 to get Neff = 3.044
225
- emulator_dict['ede-v2']['default']['N_ncdm'] = 3
236
+ emulator_dict['ede-v2']['default']['N_ncdm'] = 1 ### use equivalence with deg_ncdm = 3
237
+ emulator_dict['ede-v2']['default']['deg_ncdm'] = 3 ### use equivalence with deg_ncdm = 3 for faster computation
226
238
  emulator_dict['ede-v2']['default']['m_ncdm'] = 0.02
227
-
239
+ emulator_dict['ede-v2']['default']['T_cmb'] = 2.7255
228
240
 
229
241
 
230
242
 
@@ -60,3 +60,14 @@ class Const:
60
60
  c_km_s = 299792.458 # speed of light
61
61
  h_J_s = 6.626070040e-34 # Planck's constant
62
62
  kB_J_K = 1.38064852e-23 # Boltzmann constant
63
+
64
+ _c_ = 2.99792458e8 # c in m/s
65
+ _Mpc_over_m_ = 3.085677581282e22 # conversion factor from meters to megaparsecs
66
+ _Gyr_over_Mpc_ = 3.06601394e2 # conversion factor from megaparsecs to gigayears
67
+ _G_ = 6.67428e-11 # Newton constant in m^3/Kg/s^2
68
+ _eV_ = 1.602176487e-19 # 1 eV expressed in J
69
+
70
+ # parameters entering in Stefan-Boltzmann constant sigma_B
71
+ _k_B_ = 1.3806504e-23
72
+ _h_P_ = 6.62606896e-34
73
+ _M_sun_ = 1.98855e30 # solar mass in kg
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: classy_szfast
3
- Version: 0.0.25.post4
3
+ Version: 0.0.25.post6
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
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
- version = "0.0.25.post4"
6
+ version = "0.0.25.post6"
7
7
  license = { text = "MIT" }
8
8
  name = "classy_szfast"
9
9
  maintainers = [{name = "Boris Bolliet",email="bb667@cam.ac.uk"}]