CosmoFit.PlanckLikelihood¶
- class CosmoFit.PlanckLikelihood(cosmology, version='planck2018')[source]¶
Bases:
BaseLikelihoodMethods
__init__(cosmology[, version])chi2()Compute chi-square.
log_likelihood()Return log-likelihood.
model()Compute the theoretical Planck distance-prior vector (R, l_A, omega_b_h2) for the current cosmology.
predictions()Alias for model().
residuals()Compute residuals.
summary()Return a summary of the likelihood evaluation.
Attributes
n_dataNumber of data points.
name_and_sizeName together with the number of data points.
observable