Bayesian Separation of Close Sources
Samples from the joint posterior distribution of the number of sources and their spatial and spectral parameters.
If you use this code for your work please cite:
Jones, D. E., Kashyap, V. L., & van Dyk, D. A. (2015). Disentangling Overlapping Astronomical Sources using Spatial and Spectral Information. Astrophysical Journal, 808: 2, 137 -- 160.
Additional helpful references:
Richardson, S., & Green, P. J. (1997). On Bayesian analysis of mixtures with an unknown number of components (with discussion). Journal of the Royal Statistical Society: series B (statistical methodology), 59(4), 731-792.
Wiper, M., Insua, D. R., & Ruggeri, F. (2001). Mixtures of Gamma distributions with applications. Journal of Computational and Graphical Statistics, 10(3).