py21cmmc.likelihood.LikelihoodPlanck.computeLikelihood#
- LikelihoodPlanck.computeLikelihood(model)[source]#
Compute the likelihood.
This is the likelihood arising from Planck (2016) (https://arxiv.org/abs/1605.03507).
- Parameters:
model (list of dicts) – Exactly the output of
simulate()
.- Returns:
lnl (float) – The log-likelihood for the given model.