Installation ================== *BaySpec* is available via pip: .. code:: bash $ pip install bayspec Utilize *multinest* sampler ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you want to use `Multinest `_ for Bayesian inference, you can follow the instructions in the `pymultinest `_ documentation to install it. Access *Astromodels* models ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To utilize models from `Astromodels `_, ensure that *Astromodels* is installed on your system. Access *Xspec* models ~~~~~~~~~~~~~~~~~~~~~~~ To utilize models from `Xspec `_, ensure that both *HEASoft* and *Xspec v12.12.1+* are installed on your system. After confirming that *HEASoft* environment is properly initialized, then you need install `xspec-models-cxc `_. **NOTE**: *BaySpec* currently only supports *Additive* and *Multiplicative* models in *Xspec*.