deflection_angle_scale_factor#

silmaril.lens.deflection_angle_scale_factor(z1, z2, H0=70, Om0=0.3)#

Compute the deflection angle scale factor \(D_{ds}/D_s\) for a lens at redshift z1 and a source at redshift z2.

Parameters:
  • z1 (float) – redshift of the lens

  • z2 (float) – redshift of the source

  • H0 (float, optional) – Hubble constant, defaults to 70

  • Om0 (float, optional) – matter density parameter, defaults to 0.3

Returns:

deflection angle scale factor \(D_{ds}/D_s\)

Return type:

float