joshspeagle / dynesty

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

Derived parameters / blobs #136

Closed joezuntz closed 5 years ago

joezuntz commented 5 years ago

Hi,

I couldn't see a way in the current code to save derived parameters that are computed alongside the likelihood ("blobs" in Emcee language).

Is there a way to do this? If not I'd like to put this in as an enhancement request.

Cheers, Joe

joshspeagle commented 5 years ago

I'm a little confused here. You had requested this previously in #98 (ironically, almost exactly one year ago), and I commented there that it turns out the way I structured the code (i.e. not well) makes this straightforward feature request actually quite difficult to implement. I am happy to take a PR that could add this in if you want to take a crack at it, but for the time being do not plan on implementing this feature in dynesty. I hope to structure future samplers better to enable this functionality in the future.

joezuntz commented 5 years ago

Completely forgot that I'd asked this already - apologies!

Cheers, Joe