cluster_toolkit.miscentering module

Miscentering effects for projected profiles.

cluster_toolkit.miscentering.DeltaSigma_mis_at_R(R, Rsigma, Sigma_mis)[source]

Miscentered excess surface mass density profile at R. Units are Msun h/pc^2 comoving.

Parameters:
  • R (float or array like) – Projected radii to evaluate profile.
  • Rsigma (array like) – Projected radii of miscentered Sigma profile.
  • Sigma_mis (array like) – Miscentered Sigma profile.
Returns:

Miscentered excess surface mass density profile.

Return type:

float array like

cluster_toolkit.miscentering.Sigma_mis_at_R(R, Rsigma, Sigma, M, conc, Omega_m, Rmis, delta=200, kernel='rayleigh')[source]

Miscentered surface mass density [Msun h/pc^2 comoving] convolved with a distribution for Rmis. Units are Msun h/pc^2 comoving.

Parameters:
  • R (float or array like) – Projected radii Mpc/h comoving.
  • Rsigma (array like) – Projected radii of the centered surface mass density profile.
  • Sigma (float or array like) – Surface mass density Msun h/pc^2 comoving.
  • M (float) – Halo mass Msun/h.
  • conc (float) – concentration.
  • Omega_m (float) – Matter density fraction.
  • Rmis (float) – Miscentered distance in Mpc/h comoving.
  • delta (int; optional) – Overdensity, default is 200.
  • kernel (string; optional) – Kernal for convolution. Options: rayleigh or gamma.
Returns:

Miscentered projected surface mass density.

Return type:

float or array like

cluster_toolkit.miscentering.Sigma_mis_single_at_R(R, Rsigma, Sigma, M, conc, Omega_m, Rmis, delta=200)[source]

Miscentered surface mass density [Msun h/pc^2 comoving] of a profile miscentered by an amount Rmis Mpc/h comoving. Units are Msun h/pc^2 comoving.

Parameters:
  • R (float or array like) – Projected radii Mpc/h comoving.
  • Rsigma (array like) – Projected radii of the centered surface mass density profile.
  • Sigma (float or array like) – Surface mass density Msun h/pc^2 comoving.
  • M (float) – Halo mass Msun/h.
  • conc (float) – concentration.
  • Omega_m (float) – Matter density fraction.
  • Rmis (float) – Miscentered distance in Mpc/h comoving.
  • delta (int; optional) – Overdensity, default is 200.
Returns:

Miscentered projected surface mass density.

Return type:

float or array like