propagate_posterior¶
-
Python_modules.mmcomplexity.
propagate_posterior
(post, hazard, llh=None, sound=None, norm=True)¶ - Args:
post (dict): represents the posterior over sources hazard: hazard rate on source (between 0 and 1) llh (dict): must have two keys ‘left’, ‘right’, and values must be callables sound (str): either ‘left’ or ‘right’, corresponds to a sound location norm (bool): if True, returned posterior is a true distribution
Returns (dict): posterior, after propagating it according to hazard rate