cluster_toolkit.profile_derivatives module

Derivatives of halo profiles. Used to plot splashback results.

cluster_toolkit.profile_derivatives.drho_nfw_dr_at_R(Radii, Mass, conc, Omega_m, delta=200)[source]

Derivative of the NFW halo density profile.

Parameters:
  • Radii (float or array like) – 3d distances from halo center in Mpc/h comoving
  • Mass (float) – Mass in Msun/h
  • conc (float) – Concentration
  • Omega_m (float) – Matter fraction of the density
  • delta (int; optional) – Overdensity, default is 200
Returns:

derivative of the NFW profile.

Return type:

float or array like