CosmoFit.CCLikelihood

class CosmoFit.CCLikelihood(cosmology, version='favale2023')[source]

Bases: BaseLikelihood

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

Methods

__init__(cosmology[, version])

chi2()

Compute chi-square.

log_likelihood()

Return log-likelihood.

model()

Compute model predictions.

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