Core Cosmology LibraryΒΆ

The Core Cosmology Library (CCL) is a standardized library of routines to calculate basic observables used in cosmology. It will be the standard analysis package used by the LSST Dark Energy Science Collaboration (DESC).

The core functions of this package include:

  • Matter power spectra \(P(k)\) from numerous models including CLASS, the Mira-Titan Emulator and halofit
  • Hubble constant \(H(z)\) as well as comoving distances \(\chi(z)\) and distance moduli \(\mu(z)\)
  • Growth of structure \(D(z)\) and \(f\)
  • Correlation functions \(C_\ell\) for arbitrary combinations of tracers including galaxies, shear and number counts
  • Halo mass function \({\rm d}n/{\rm d}M\) and halo bias \(b(M)\)
  • Approximate baryonic modifications to the matter power spectra \(\Delta^2_{\rm baryons}\)
  • Simple modified gravity extensions \(\Delta f(z)\)

The source code is available on github at