ler 0.2.8__tar.gz → 0.2.9__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.

Potentially problematic release.


This version of ler might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ler
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Gravitational waves Lensing Rates
5
5
  Home-page: https://github.com/hemantaph/ler
6
6
  Author: Hemantakumar
@@ -3,6 +3,8 @@ LeR
3
3
  """
4
4
 
5
5
  import sys
6
+ import warnings
7
+ warnings.filterwarnings("ignore", "Wswiglal-redir-stdio")
6
8
 
7
9
  __author__ = 'hemanta_ph <hemantaphurailatpam@gmail.com>'
8
10
 
@@ -253,7 +253,7 @@ class SourceGalaxyPopulationModel:
253
253
  zs = rejection_sample(pdf, z_min, z_max, size=size)
254
254
  return zs
255
255
 
256
- def merger_rate_density_popI_II_Oguri(self, zs, R0=23.9 * 1e-9, b2=1.6, b3=2.0, b4=30):
256
+ def merger_rate_density_popI_II_Oguri(self, zs, R0=25.0 * 1e-9, b2=1.6, b3=2.0, b4=30):
257
257
  """
258
258
  Function to compute the merger rate density (PopI/PopII)
259
259
 
@@ -288,6 +288,11 @@ class SourceGalaxyPopulationModel:
288
288
  2.7848018586883885e-08
289
289
 
290
290
  """
291
+ # if self.event_type == "BNS":
292
+ # R0 = 170.0 * 1e-9
293
+ # if self.event_type == "NSBH":
294
+ # R0 = 27.0 * 1e-9
295
+
291
296
  #print("\n merger_rate_density_popI_II_Oguri \n")
292
297
  # replace values with self.merger_rate_density_param, if given
293
298
  param = dict(R0=R0, b2=b2, b3=b3, b4=b4)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ler
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Gravitational waves Lensing Rates
5
5
  Home-page: https://github.com/hemantaph/ler
6
6
  Author: Hemantakumar
@@ -13,7 +13,7 @@ if python_version < (3, 10):
13
13
 
14
14
  setup(
15
15
  name="ler",
16
- version="0.2.8",
16
+ version="0.2.9",
17
17
  description="Gravitational waves Lensing Rates",
18
18
  long_description=long_description,
19
19
  long_description_content_type='text/markdown',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes