pyXspecExplorer helps you to quickly plot and analyze XSPEC X-ray astrophysics models using pyXSPEC and Matplotlib Sliders.
Just run python main.py
to experience with an example using tbabs(bbodyrad+powerlaw)
.
You also can, for example:
- change the model, by running:
python main.py "tbabs(bbody+nthcomp)"
. - change to
emodel
oreemodel
, by running:python main.py "tbabs(bbody+nthcomp)" emo
.
Another possibility is to compare two different models:
- just run
python compare.py
to experience comparingbbodyrad
todiskbb
. - or give two arbitrary models as arguments
python compare.py "tbabs(nthcomp)" "nthcomp"
.
Please, do not hesitate to contact me asking for improvements, or Fork and Pull Request.