Installation

BaySpec is available on PyPI:

pip install bayspec

Optional: MultiNest sampler

To enable MultiNest for nested sampling, follow the pymultinest install guide.

Optional: astromodels components

To pull components from astromodels, install astromodels in your Python environment.

Optional: Xspec components

To pull components from Xspec:

  1. Install HEASoft and Xspec v12.12.1+.

  2. After initialising the HEASoft environment, install xspec-models-cxc.

Note

BaySpec currently supports only Additive and Multiplicative Xspec models.