*BLoCXS*

## Bayesian Low-Counts X-ray Spectral Analysis

**Last Updated: 2008apr03**

BLoCXS is a Bayesian code that uses Markov-Chain Monte Carlo and Data Augmentation
techniques to analyze CCD-resolution X-ray spectra in the Poisson regime. BLoCXS
can be used to
- fit common emission models to low-counts spectra
- identify narrow emission lines in low-resolution spectra
- identify Gaussian emission lines (with fixed/unknown location and width)
- compute profile posterior distributions,
- simulate data from posterior predictive distributions,
- compute the maximum likelihood using posterior predictive draws (to calculate ppp-values)
- incorporate effective areas calibration uncertainty

The code is in alpha. Contact the authors if you want to try it. The structure of the algorithm is represented by
the data flow diagram shown below:

- Protassov, R., van Dyk, D.A., Connors, A., Kashyap, V.L., & Siemiginowska, A., 2002, ApJ, 571, 545
- 2002ApJ...571..545P
- van Dyk, D.A., Connors, A., Kashyap, V.L., & Siemiginowska, A., 2001, ApJ, 548, 224
- 2001ApJ...548..224V

Under construction
Under construction

[CHASC]