Skip to main content

A cobaya high-ell likelihood polarized for planck

Project description

HiLLiPoP: High-L Likelihood Polarized for Planck

GitHub Workflow Status License: GPL v3

Hillipop is a multifrequency CMB likelihood for Planck data. The likelihood is a spectrum-based Gaussian approximation for cross-correlation spectra from Planck 100, 143 and 217GHz split-frequency maps, with semi-analytic estimates of the Cl covariance matrix based on the data. The cross-spectra are debiased from the effects of the mask and the beam leakage using Xpol (a generalization to polarization of the algorithm presented in Tristram et al. 2005) before being compared to the model, which includes CMB and foreground residuals. They cover the multipoles from ℓ=30 to ℓ=2500.

The model consists of a linear combination of the CMB power spectrum and several foregrounds residuals. These are:

  • Galactic dust (estimated directly from the 353 GHz channel);
  • the cosmic infrared background (as measured in Planck Collaboration XXX 2014);
  • thermal Sunyaev-Zeldovich emission (based on the Planck measurement reported in Planck Collaboration XXI 2014);
  • kinetic Sunyaev-Zeldovich emission, including homogeneous and patchy reionization components from Shaw et al. (2012) and Battaglia et al. (2013);
  • a tSZ-CIB correlation consistent with both models above; and
  • unresolved point sources as a Poisson-like power spectrum.

HiLLiPoP has been used as an alternative to the public Planck likelihood in the 2013 and 2015 Planck releases [Planck Collaboration XV 2014; Planck Collaboration XI 2016], and is described in detail in Couchot et al. (2017).

Likelihoods available are hillipop.TT, hillipop.EE, hillipop.TE, hillipop.TTTE, and hillipop.TTTEEE.

It is interfaced with the cobaya MCMC sampler.

Likelihood versions

  • Planck 2020 (PR4)


The easiest way to install the Hillipop likelihood is via pip

$ pip install planck-2020-hillipop [--user]

If you plan to dig into the code, it is better to clone this repository to some location

$ git clone /where/to/clone

Then you can install the Hillipop likelihood and its dependencies via

$ pip install -e /where/to/clone

The -e option allow the developer to make changes within the Hillipop directory without having to reinstall at every changes. If you plan to just use the likelihood and do not develop it, you can remove the -e option.

Installing Hillipop likelihood data

The examples/hillipop_example.yaml file is a good starting point to know the different nuisance parameters used by hillipop likelihoods.

You should use the cobaya-install binary to automatically download the data needed by the Hillipop likelihood

$ cobaya-install /where/to/clone/examples/hillipop_example.yaml -p /where/to/put/packages

Data and code such as CAMB will be downloaded and installed within the /where/to/put/packages directory. For more details, you can have a look to cobaya documentation.


  • Python >= 3.5
  • numpy
  • astropy

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

planck_2020_hillipop-1.1.0.tar.gz (40.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page