jesterTOV.inference.base.prior.CombinePrior#
- class CombinePrior(priors)[source]#
Bases:
PriorA prior class constructed by joining multiple priors together to form a multivariate prior.
Note: This class follows the Jim/jimgw architecture.
This assumes the priors composing the Combine class are independent.
Methods
__init__(priors)add_name(x)Turn an array into a dictionary.
log_prob(z)Evaluate the log probability by summing over independent priors.
sample(rng_key, n_samples)Sample from the combined prior by sampling from each component.
Attributes
n_dimparameter_namescomposite- base_prior: list[Prior] = Field(name=None,type=None,default=<dataclasses._MISSING_TYPE object>,default_factory=<class 'list'>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object>,_field_type=None)#