glasz.GGL package

Submodules

glasz.GGL.delta_sigma module

glasz.GGL.delta_sigma.calc_ds(cosmo, R, M, a, prof)

a function to compute the comoving excess surface mass density profile given a halo profile.

Parameters:
  • cosmo (Cosmology) – (pyccl.cosmology.Cosmology): a Cosmology object.

  • R (float | ndarray[Any, dtype[float64]]) – (float or NDArray[float]): projected comoving radius in Mpc.

  • M (float | ndarray[Any, dtype[float64]]) – (float or NDArray[float]): halo mass in units of M_sun.

  • a (float | ndarray[Any, dtype[float64]]) – (float or NDArray[float]): scale factor.

  • prof (HaloProfile) – (pyccl.halos.profiles.profile_base.HaloProfile): halo profile.

Returns:

(float or NDArray[float]): comoving excess surface mass density

Return type:

ds