Improve ptemcee
All threads resolved!
This is a total rewrite of the ptemcee implementation. Originally, we had based ptemcee
on emcee
, but emcee has changed quite significantly and I anticipate it will be easier to maintain the two uncoupled from hereon. This adds sufficient functionality to ptemcee for it to be usable on gravitational wave events. Here is a summary of the changes
nsamples
as a the primary input. The sampler will run until it has nsamples
independent samples from the posterior. The user now has access to a reduced set of the ptemcee full functionality (e.g. iterations
), but this isn't required given the convergence checking..dat
fileNote, I have intentionally put much of the primary logic into functions rather than class methods. This is because eventually we should port changes to parallel bilby and potentially other samplers and this is most easily done from a functional interface (at least for parallel bilby where inheritance causes issues with the parallel aspects).