dstndstn / tractor

The Tractor: measuring astronomical sources via probabilistic inference
Other
86 stars 24 forks source link

Add ln prior to tractor outputs #29

Closed djbard closed 10 years ago

djbard commented 10 years ago

Now that tractor can apply an interim prior, can the ln prior be reported along with the samples?

davidwhogg commented 10 years ago

This can be done by decorating the samples with blobs of meta-data, which is a functionality supported by emcee.

In general this could be also pull-requested at emcee because really with any MCMC code you are sampling a prior times a likelihood; each sample should then come with its prior and likelihood values attached (or the logs of those).

dstndstn commented 10 years ago

done, in MagicBeans / Reaper.