jesterTOV.inference.base.prior.UniformPrior#
- class UniformPrior(xmin, xmax, parameter_names)[source]#
Bases:
SequentialTransformPriorUniform prior distribution over [xmin, xmax].
Note: This class follows the Jim/jimgw architecture. It is implemented as a composition of a logistic base distribution with transforms.
Methods
__init__(xmin, xmax, parameter_names)add_name(x)Turn an array into a dictionary.
log_prob(z)Evaluate the probability of the transformed variable z.
sample(rng_key, n_samples)Sample from the transformed prior.
transform(x)Apply forward transforms to x.
Attributes