Improve ptemcee
-
Review changes -
-
Download -
Patches
-
Plain diff
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
- Add automatic convergence to the user interface: users now specify
nsamples
as a the primary input. The sampler will run until it hasnsamples
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. - Add diagnostic plots for the autocorrelation time, e.g.:
- Improve the traceplots to show the convergence and the current posterior samples
- Add dumping of posterior samples to a
.dat
file - Add multi-processing support, tested on a 16 core machine to give a significant reduction in compute time (exact timings yet to be calculated).
- Add regular 10-minute checkpointing
Note, 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).
Merge request reports
- version 3129686541
- version 30fc2f25cc
- version 2910c5bfb3
- version 2896cd531f
- version 27b9920c14
- version 26be643f91
- version 25b0bdcaac
- version 24edc0a672
- version 23620761c9
- version 22097864b0
- version 21b56a973a
- version 2017ad3567
- version 19486ad46f
- version 18ac9dc71f
- version 179710edb1
- version 161b6feabb
- version 156e6f3770
- version 1472bf21a9
- version 133e1f51dc
- version 129574558a
- version 1149ce764c
- version 10214b16a9
- version 9def7f5e3
- version 8d2d52573
- version 701efcf7d
- version 62954cd97
- version 53d0c8344
- version 41e058dfc
- version 3cfbb2861
- version 2b933f5c2
- version 1bbab4dc1
- master (base)
- latest version490c227a46 commits,
- version 312968654145 commits,
- version 30fc2f25cc44 commits,
- version 2910c5bfb343 commits,
- version 2896cd531f42 commits,
- version 27b9920c1441 commits,
- version 26be643f9140 commits,
- version 25b0bdcaac39 commits,
- version 24edc0a67238 commits,
- version 23620761c937 commits,
- version 22097864b034 commits,
- version 21b56a973a33 commits,
- version 2017ad356732 commits,
- version 19486ad46f31 commits,
- version 18ac9dc71f29 commits,
- version 179710edb126 commits,
- version 161b6feabb25 commits,
- version 156e6f377024 commits,
- version 1472bf21a923 commits,
- version 133e1f51dc17 commits,
- version 129574558a16 commits,
- version 1149ce764c15 commits,
- version 10214b16a914 commits,
- version 9def7f5e313 commits,
- version 8d2d5257311 commits,
- version 701efcf7d10 commits,
- version 62954cd979 commits,
- version 53d0c83448 commits,
- version 41e058dfc5 commits,
- version 3cfbb28614 commits,
- version 2b933f5c23 commits,
- version 1bbab4dc12 commits,
- Side-by-side
- Inline
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
3Files with large changes are collapsed by default.