BaySpec documentation¶
BaySpec is a Python library for Bayesian inference on high-energy astrophysical spectra. It pairs MCMC and nested-sampling backends with multi-spectrum, multi-model fitting machinery, reads OGIP FITS data out of the box, and bridges to local, astromodels, and Xspec model libraries.
For a point-and-click workflow, see the companion BaySpec App — a FastAPI + HTMX browser workbench that wraps the same fitting machinery (live demo on Hugging Face Spaces).