popsynth.aux_samplers.normal_aux_sampler module
- class popsynth.aux_samplers.normal_aux_sampler.NormalAuxSampler(name: str, observed: bool = True)[source]
Bases:
AuxiliarySampler
- mu
- tau
- sigma
- __init__(name: str, observed: bool = True)[source]
A normal distribution sampler, where property ~ N(
mu
,sigma
).- Parameters
name (str) – Name of the property
observed (bool) – True if the property is observed, False if it is latent. Defaults to True
mu (
AuxiliaryParameter
) – Mean of the normaltau (
AuxiliaryParameter
) – Standard deviation of the normalsigma (
AuxiliaryParameter
) – Standard deviation of normal distribution from which observed values are sampled, ifobserved
is True