py21cmmc.likelihood.LikelihoodPlanckPowerSpectra#

class py21cmmc.likelihood.LikelihoodPlanckPowerSpectra(*args, name_lkl=None, A_planck_prior_center=1, A_planck_prior_variance=0.1, **kwargs)[source]#

A likelihood template to use Planck power spectrum.

It makes use of the clik code developed by the planck collaboration. Go to the planck legacy archive website to download the code and data and get information: https://pla.esac.esa.int You should download the “baseline” data package. This likelihood currently supports Planck_lensing, Planck_highl_TTTEEE and Planck_lowl_EE data. Could easily be extended if required.

Parameters:

name_lkl (str) – the planck likelihood to compute. choice: Planck_lensing, Planck_highl_TTTEEE, Planck_lowl_EE

Methods

__init__(*args[, name_lkl, ...])

computeLikelihood(model)

Compute the likelihood.

get_fiducial_model()

Compute and return a model dictionary at the fiducial set of parameters.

initialize_clik_and_class([name])

Initialize clik and class.

reduce_data(ctx)

Get the CMB power spectra and the nuisance parameter A_planck from the coreCMB.

setup()

Perform post-init setup.

Attributes

chain

Reference to the LikelihoodComputationChain containing this core.

core_primary

The first core that appears in the requirements.

parameter_names

Names of the parameters of the full chain.

required_cores