joshspeagle / dynesty

Dynamic Nested Sampling package for computing Bayesian posteriors and evidences
https://dynesty.readthedocs.io/
MIT License
347 stars 76 forks source link

add different add_batch modes #328

Closed segasai closed 3 years ago

segasai commented 3 years ago

Possible way of addressing #327 add_batch now has a mode parameter which can be weight (does what currently does) manual (requires logl_bounds) or full which does basically another full nested run. I've also added 'auto' which currently is basically 'weight', but we can maybe change it.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1215662093


Changes Missing Coverage Covered Lines Changed/Added Lines %
py/dynesty/dynamicsampler.py 9 11 81.82%
<!-- Total: 9 11 81.82% -->
Totals Coverage Status
Change from base Build 1207209309: 0.007%
Covered Lines: 3400
Relevant Lines: 4157

💛 - Coveralls