pyBLoCXS: Bayesian Low-Count X-ray Spectral analysis
Abstract
pyBLoCXS is a sophisticated Markov chain Monte Carlo (MCMC) based algorithm designed to carry out Bayesian Low-Count X-ray Spectral (BLoCXS) analysis in the Sherpa environment. The code is a Python extension to Sherpa that explores parameter space at a suspected minimum using a predefined Sherpa model to high-energy X-ray spectral data. pyBLoCXS includes a flexible definition of priors and allows for variations in the calibration information. It can be used to compute posterior predictive p-values for the likelihood ratio test. The pyBLoCXS code has been tested with a number of simple single-component spectral models; it should be used with great care in more complex settings.
- Publication:
-
Astrophysics Source Code Library
- Pub Date:
- April 2012
- Bibcode:
- 2012ascl.soft04002S
- Keywords:
-
- Software