ler 0.3.7__py3-none-any.whl → 0.3.9__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.

Potentially problematic release.


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

@@ -176,7 +176,7 @@ class OpticalDepth():
176
176
  if sampler_priors:
177
177
  self.sampler_priors.update(sampler_priors)
178
178
  self.sampler_priors_params = dict(
179
- velocity_dispersion=dict(vd_min=0., vd_max=600.),
179
+ velocity_dispersion=dict(vd_min=0., vd_max=350.),
180
180
  axis_ratio=dict(q_min=0.2, q_max=1.),
181
181
  )
182
182
  if sampler_priors_params:
@@ -186,25 +186,25 @@ class OpticalDepth():
186
186
 
187
187
  self.directory = directory
188
188
  self.c_n_i = dict(
189
- velocity_dispersion=dict(create_new=False, resolution=500),
190
- axis_ratio=dict(create_new=False, resolution=500),
191
- optical_depth=dict(create_new=False, resolution=100),
192
- z_to_Dc=dict(create_new=False, resolution=500),
193
- Dc_to_z=dict(create_new=False, resolution=500),
194
- angular_diameter_distance=dict(create_new=False, resolution=500),
195
- differential_comoving_volume=dict(create_new=False, resolution=500),
189
+ velocity_dispersion=dict(create_new=False, resolution=1000),
190
+ axis_ratio=dict(create_new=False, resolution=1000),
191
+ optical_depth=dict(create_new=False, resolution=200),
192
+ z_to_Dc=dict(create_new=False, resolution=1000),
193
+ Dc_to_z=dict(create_new=False, resolution=1000),
194
+ angular_diameter_distance=dict(create_new=False, resolution=1000),
195
+ differential_comoving_volume=dict(create_new=False, resolution=1000),
196
196
  )
197
197
  if isinstance(create_new_interpolator, dict):
198
198
  self.c_n_i.update(create_new_interpolator)
199
199
  elif create_new_interpolator is True:
200
200
  self.c_n_i = dict(
201
- velocity_dispersion=dict(create_new=True, resolution=500),
202
- axis_ratio=dict(create_new=True, resolution=500),
203
- optical_depth=dict(create_new=True, resolution=100),
204
- z_to_Dc=dict(create_new=True, resolution=500),
205
- Dc_to_z=dict(create_new=True, resolution=500),
206
- angular_diameter_distance=dict(create_new=True, resolution=500),
207
- differential_comoving_volume=dict(create_new=True, resolution=500),
201
+ velocity_dispersion=dict(create_new=True, resolution=1000),
202
+ axis_ratio=dict(create_new=True, resolution=1000),
203
+ optical_depth=dict(create_new=True, resolution=200),
204
+ z_to_Dc=dict(create_new=True, resolution=1000),
205
+ Dc_to_z=dict(create_new=True, resolution=1000),
206
+ angular_diameter_distance=dict(create_new=True, resolution=1000),
207
+ differential_comoving_volume=dict(create_new=True, resolution=1000),
208
208
  )
209
209
 
210
210
  vd_name = self.sampler_priors["velocity_dispersion"] # velocity dispersion sampler name
@@ -237,8 +237,9 @@ class OpticalDepth():
237
237
  self.vd_min = self.sampler_priors_params['velocity_dispersion']['vd_min']
238
238
  self.vd_max = self.sampler_priors_params['velocity_dispersion']['vd_max']
239
239
  except:
240
- self.vd_min = 0.
241
- self.vd_max = 600.
240
+ self.vd_min = 10.
241
+ self.vd_max = 350.
242
+ self.sampler_priors_params['velocity_dispersion']=dict(vd_min=self.vd_min, vd_max=self.vd_max)
242
243
 
243
244
  # generating inverse cdf interpolator for velocity dispersion
244
245
  param_dict_given_ = dict(z_min=self.z_min, z_max=self.z_max, vd_min=self.vd_min, vd_max=self.vd_max, cosmology=self.cosmo, name=vd_name, resolution=self.c_n_i["velocity_dispersion"]["resolution"])
@@ -966,7 +967,8 @@ class OpticalDepth():
966
967
  Function to list all available axis ratio sampler.
967
968
  """
968
969
  self._available_axis_ratio_list_and_its_params = dict(
969
- axis_ratio_rayleigh=None,
970
+ axis_ratio_rayleigh=dict(q_min=0.2, q_max=1.0),
971
+ axis_ratio_padilla_strauss=dict(q_min=0.2, q_max=1.0),
970
972
  axis_ratio_SIS=None,
971
973
  )
972
974