ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2101.014] PyXspec: Python interface to XSPEC spectral-fitting program

PyXspec is an object oriented Python interface to the XSPEC (ascl:9910.005) spectral-fitting program. It provides an alternative to Tcl, the sole scripting language for standard Xspec usage. With PyXspec loaded, a user can run Xspec with Python language scripts or interactively at a Python shell prompt; everything in PyXspec is accessible by importing the package xspec into your Python script. PyXspec can be utilized in a Python script or from the command line of the plain interactive Python interpreter. PyXspec does not implement its own command handler, so it is not intended to be run as the Python equivalent of a traditional interactive XSPEC session (which is really an enhanced interactive Tcl interpreter).

Code site:
https://heasarc.gsfc.nasa.gov/xanadu/xspec/python/html/index.html
Used in:
https://ui.adsabs.harvard.edu/abs/2013A%26A...554A..72H https://ui.adsabs.harvard.edu/abs/2013ApJ...772....7G
Bibcode:
2021ascl.soft01014G
Keywords: NASA

Views: 3869

ascl:2101.014
Add this shield to your page
Copy the above HTML to add this shield to your code's website.