Prior

class dysmalpy.parameters.Prior[source]

Bases: object

Base class for priors

Methods Summary

log_prior(*args, **kwargs)

Returns the log value of the prior given the parameter value

prior_unit_transform(*args, **kwargs)

Map a uniform random variable drawn from [0.,1.] to the prior of interest

sample_prior(*args, **kwargs)

Returns a random sample of parameter values distributed according to the prior

Methods Documentation

abstract log_prior(*args, **kwargs)[source]

Returns the log value of the prior given the parameter value

abstract prior_unit_transform(*args, **kwargs)[source]

Map a uniform random variable drawn from [0.,1.] to the prior of interest

abstract sample_prior(*args, **kwargs)[source]

Returns a random sample of parameter values distributed according to the prior