jesterTOV.inference.priors module

jesterTOV.inference.priors module#

Prior specification and parsing for Bayesian inference.

Prior Classes#

Prior distributions are defined in the jesterTOV.inference.base.prior module and used when writing .prior files for inference runs.

UniformPrior(xmin, xmax, parameter_names)

Uniform prior distribution over [xmin, xmax].

MultivariateGaussianPrior(parameter_names[, ...])

Multivariate Gaussian prior \(\mathcal{N}(\mu, \Sigma)\).

Fixed(value, parameter_names)

A parameter fixed to a constant value, excluded from the sampling space.

CombinePrior(priors)

A prior class constructed by joining multiple priors together to form a multivariate prior.

Prior(parameter_names)

Base class for JESTER prior distributions.

Parser Functions#

parser.parse_prior_file(prior_file[, ...])

Parse .prior file (Python format) and return a ParsedPrior.

parser.ParsedPrior(prior, fixed_params)

Result of parsing a .prior file.