CosmoFit.PlanckLikelihood

class CosmoFit.PlanckLikelihood(cosmology, version='planck2018')[source]

Bases: BaseLikelihood

__init__(cosmology, version='planck2018')[source]

Methods

__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_data

Number of data points.

name_and_size

Name together with the number of data points.

observable