jesterTOV.inference.base.prior.Fixed#
- class Fixed(value, parameter_names)[source]#
Bases:
PriorA parameter fixed to a constant value, excluded from the sampling space.
This is not a proper prior distribution — it has no
log_proborsampleimplementation. Use it in.priorfiles to pin a parameter to a specific value while keeping the specification co-located with the sampled priors:lambda_BL = Fixed(0.0, parameter_names=["lambda_BL"])
The parser will extract
Fixedentries into a separatefixed_paramsdict and will not add them to theCombinePriorthat defines the sampling space.- Parameters:
Methods
__init__(value, parameter_names)add_name(x)Turn an array into a dictionary.
log_prob(z)sample(rng_key, n_samples)Attributes
n_dimparameter_namescomposite