You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def lnprior(theta, prior):
# XXX incorporate the prior passed in here
if 0. < theta < 2*np.pi:
return 0.
return -np.inf
But for the science loop, the prior on the second iteration is the posterior of the first iteration. That posterior is represented by the Distribution class. We need to implement the Distribution.density or Distribution.pdf
Should basically be the same as using the current histogram class, but needs to be normalized.
The text was updated successfully, but these errors were encountered:
cranmer
changed the title
Move Prior used by emcee to Distribution.density
Prior used by emcee needs to incorporate Distribution.density
Jun 5, 2017
Currently emcee is using this prior
But for the science loop, the prior on the second iteration is the posterior of the first iteration. That posterior is represented by the Distribution class. We need to implement the Distribution.density or Distribution.pdf
Should basically be the same as using the current histogram class, but needs to be normalized.
The text was updated successfully, but these errors were encountered: