8000 GitHub - jyangch/bayspec: A Bayesian inference-based spectral fitting tool for multi-dimensional and multi-wavelength astrophysical data.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Bayesian inference-based spectral fitting tool for multi-dimensional and multi-wavelength astrophysical data.

License

Notifications You must be signed in to change notification settings

jyangch/bayspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome To BAYSPEC 👋

A Bayesian Inference-based Spectral Fitting Tool for High-energy Astrophysical Data.

PyPI - Version License: GPL v3

Features

  • 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

Installation

BaySpec is available via pip:

$ 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.

BaySpec App

BaySpec App provides an easy-to-use web application implemented using streamlit.

Open in Streamlit

Documentation

If you wish to learn about the usage, you may check the examples or read the documentation.

License

BaySpec is distributed under the terms of the GPL-3.0 license.

About

A Bayesian inference-based spectral fitting tool for multi-dimensional and multi-wavelength astrophysical data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0