8000 GitHub - jyangch/myspecfit: 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/myspecfit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySpecFit

A Bayesian inference-based spectral fitting tool for multi-dimensional (time and energy) and multi-wavelength (X-ray and gamma-ray) astrophysical data.

Framework

  • Spectrum class: Setting up each set of spectra and detector response as well as the statistics.
  • Model class: Setting up models for fitting spectra.
  • Fit class: Sampling for model parameters based on Bayesian theory.
  • Analyse class: Analyzing the posterior samples to determine the best-fit parameters and goodness.
  • Plot class: Plotting the observed and model-predicted spectra.
  • Calculate class: Calculating flux based on posterior samples.

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
  • Others: simultaneous fitting of multi-spectra and multi-models, freely combining available models and add new model

Available models

  • Empirical models: pl, cpl, band, sbpl, cband, csbpl, dband, dsbpl...
  • Physical models: bb, hle...
  • Absorption models: phabs, tbabs...

About

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

Resources

License

Stars

474D 4 stars

Watchers

Forks

Packages

No packages published
0