- Bayesian inference-based: implemented by MCMC (e.g., emcee) or nested sampling (e.g., multinest)
- Multi-dimensional: enabling the fit of time-evolving spectra with time-involved physical models
- Multi-wavelength: supporting for the joint fitting to multi-wavelength astronomical spectra
- Friendly interface: easy-to-use web application developed with streamlit
- Others: simultaneous fitting of multi-spectra and multi-models, freely combining available models and add new model
BaySpec is available via pip
:
$ pip install bayspec
If you want to use Multinest
for Bayesian inference, you can follow the instructions in the pymultinest
documentation to install it.
To utilize models from Astromodels
, ensure that Astromodels
is installed on your system.
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
.
BaySpec App provides an easy-to-use web application implemented using streamlit
.
If you wish to learn about the usage, you may check the examples
or read the documentation
.
BaySpec is distributed under the terms of the GPL-3.0
license.