Skip to content

an interactive plotter with sliders to explore XSPEC X-ray Astrophysics Models.

License

Notifications You must be signed in to change notification settings

garciafederico/pyXspecExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyXspecExplorer

pyXspecExplorer helps you to quickly plot and analyze XSPEC X-ray astrophysics models using pyXSPEC and Matplotlib Sliders.

Screenshot

Usage:

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 or eemodel, by running: python main.py "tbabs(bbody+nthcomp)" emo.

Another possibility is to compare two different models:

  • just run python compare.py to experience comparing bbodyrad to diskbb.
  • 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.

About

an interactive plotter with sliders to explore XSPEC X-ray Astrophysics Models.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages