CosmoFit.BaseLikelihood¶
- class CosmoFit.BaseLikelihood(name, dataset, cosmology)[source]¶
Bases:
ABCMethods
__init__(name, dataset, cosmology)chi2()Return chi-square.
log_likelihood()Return log-likelihood.
model()Return theoretical predictions.
predictions()Alias for model().
summary()Return a summary of the likelihood evaluation.
Attributes
n_dataNumber of data points.
name_and_sizeName together with the number of data points.