CosmoFit.TauLikelihood¶
- class CosmoFit.TauLikelihood(cosmology, version='planck2018')[source]¶
Bases:
GaussianPriorLikelihoodThe Planck 2018 large-scale-polarization constraint on the reionization optical depth,
tau = 0.0544 +- 0.0073.Only meaningful alongside
PlanckLiteLikelihood, which covers l >= 30 only. There,tauenters solely through theexp(-2 tau)damping of the spectra and is therefore degenerate with the primordial amplitudeA_s; this prior is what breaks that degeneracy, and it is the standard companion to a high-l-only CMB fit rather than an optional extra. Without it,sigma8and anything derived from it are unconstrained.- Parameters:
version (str)
Methods
__init__(cosmology[, version])chi2()Chi-square statistic.
log_likelihood()Return log-likelihood.
model()Predicted value of the constrained quantity.
predictions()Alias for model().
residuals()Data minus model residual (a length-1 vector).
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