runlmc.parameterization.priorizable module

This module contains internal classes having to do with adding priors and containing parameters that have priors.

Both _PriorizableNode and PriorizableLeaf shouldn’t be used externally.

class runlmc.parameterization.priorizable.PriorizableLeaf(name, *a, **kw)[source]

Bases: runlmc.parameterization.priorizable._PriorizableNode

A PriorizableLeaf contains a prior, and, by virtue of being a _PriorizableNode, will automatically notify parents of a new prior being set.

set_prior(prior)[source]

Set the prior for this object to prior.

Parameters:prior (runlmc.parameterization.Prior) – prior set for this parameter
unset_prior()[source]

Unset prior, if present.