Installation ============ *BaySpec* is available on PyPI: .. code:: bash 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.