pyccl.cls module

pyccl.cls.angular_cl(cosmo, cltracer1, cltracer2, ell, p_of_k_a=None, l_limber=-1.0)[source]

Calculate the angular (cross-)power spectrum for a pair of tracers.

Parameters:
  • cosmo (Cosmology) – A Cosmology object.
  • cltracer2 (cltracer1,) – Tracer objects, of any kind.
  • ell (float or array_like) – Angular wavenumber(s) at which to evaluate the angular power spectrum.
  • p_of_k_a (Pk2D or None) – 3D Power spectrum to project. If None, the non-linear matter power spectrum will be used.
  • l_limber (float) – Angular wavenumber beyond which Limber’s approximation will be used. Defaults to -1.
Returns:

Angular (cross-)power spectrum values,

\(C_\ell\), for the pair of tracers, as a function of \(\ell\).

Return type:

float or array_like