firecrown.utils.cached_angular_cl#
- firecrown.utils.cached_angular_cl(cosmo, tracers, ells, p_of_k_a=typing.Optional[typing.Callable[[numpy.ndarray[tuple[int, ...], numpy.dtype[numpy.int64]]], numpy.ndarray[tuple[int, ...], numpy.dtype[numpy.float64]]]])[source]#
Wrapper for pyccl.angular_cl, with automatic caching.
- Parameters:
cosmo (
Cosmology) – the current cosmologytracers (
tuple[Tracer,Tracer]) – tracers indicating the measurements to be correlatedells (
ndarray[tuple[int,...],dtype[int64]]) – ell values at which to calculate the power spectrump_of_k_a – function that computes the power spectrum