jesterTOV.inference.base.likelihood.LikelihoodBase#
- class LikelihoodBase[source]#
Bases:
ABCBase class for likelihoods.
This class is designed for likelihoods where data is encapsulated within the likelihood object during initialization. This differs from other frameworks (e.g., jimgw) that pass data at evaluation time.
The likelihood encapsulates: - The data: observations or measurements (stored internally) - The model: theoretical predictions (computed from parameters)
It evaluates the log-likelihood for a given set of parameters, using the internally stored data.
- __init__()#
Methods
Attributes
- property data: Any#
The data for the likelihood.
- Returns:
Any – The data object. Specific type depends on the likelihood implementation.