CCToolkit Documentation

CCToolkit is a Python package designed for Cluster Cosmology calculations, including handling cosmological parameters, power spectrum computations, halo mass functions, and halo bias. It integrates with the CAMB library to deliver precise cosmological data processing.

Features

  • Cosmological Calculations: Easily compute various cosmological quantities, including background quantities and power spectra.

  • Halo Mass Function (HMF): Calculate the multiplicity function and HMF parameters for different halo finders based on the model presented in Castro et al. 2023 or the model presented in Castro et al. 2025 for dynamical dark energy cosmologies.

  • Halo Bias: Includes functions to compute the linear halo bias, with corrections based on the Peak Background Split (PBS) model presented in Castro et al. 2024b.

  • Baryonic impact: Implements the model presented in Castro et al. 2024a for the baryonic impact on cluster and group masses.

  • Utility Functions: Provides useful utilities for the manipulation of the power spectrum.