SkillAgentSearch skills...

PyXspecExplorer

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

Install / Use

/learn @garciafederico/PyXspecExplorer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars8
CategoryProduct
Updated3mo ago
Forks0

Languages

Python

Security Score

87/100

Audited on Dec 20, 2025

No findings