cluster_toolkit.deltasigma module

Galaxy cluster shear and magnification profiles also known as DeltaSigma and Sigma, respectively.

cluster_toolkit.deltasigma.DeltaSigma_at_R(R, Rs, Sigma, mass, concentration, Omega_m, delta=200)[source]

Excess surface mass density given Sigma [Msun h/pc^2 comoving].

Parameters:
  • R (float or array like) – Projected radii Mpc/h comoving.
  • Rs (array like) – Projected radii of Sigma, the surface mass density.
  • Sigma (array like) – Surface mass density.
  • mass (float) – Halo mass Msun/h.
  • concentration (float) – concentration.
  • Omega_m (float) – Matter density fraction.
  • delta (int; optional) – Overdensity, default is 200.
Returns:

Excess surface mass density Msun h/pc^2 comoving.

Return type:

float or array like

cluster_toolkit.deltasigma.Sigma_at_R(R, Rxi, xi, mass, concentration, Omega_m, delta=200)[source]

Surface mass density given some 3d profile [Msun h/pc^2 comoving].

Parameters:
  • R (float or array like) – Projected radii Mpc/h comoving.
  • Rxi (array like) – 3D radii of xi_hm Mpc/h comoving.
  • xi_hm (array like) – Halo matter correlation function.
  • mass (float) – Halo mass Msun/h.
  • concentration (float) – concentration.
  • Omega_m (float) – Matter density fraction.
  • delta (int; optional) – Overdensity, default is 200.
Returns:

Surface mass density Msun h/pc^2 comoving.

Return type:

float or array like

cluster_toolkit.deltasigma.Sigma_nfw_at_R(R, mass, concentration, Omega_m, delta=200)[source]

Surface mass density of an NFW profile [Msun h/pc^2 comoving].

Parameters:
  • R (float or array like) – Projected radii Mpc/h comoving.
  • mass (float) – Halo mass Msun/h.
  • concentration (float) – concentration.
  • Omega_m (float) – Matter density fraction.
  • delta (int; optional) – Overdensity, default is 200.
Returns:

Surface mass density Msun h/pc^2 comoving.

Return type:

float or array like