PyXspec: Python interface to XSPEC spectral-fitting program

Discussion topics for individual codes
Post Reply
Ada Coda
ASCL Robot
Posts: 1839
Joined: Thu May 08, 2014 5:37 am

PyXspec: Python interface to XSPEC spectral-fitting program

Post by Ada Coda » Mon Feb 01, 2021 1:47 am

PyXspec: Python interface to XSPEC spectral-fitting program

Abstract: 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).

Credit: Gordon, Craig; Arnaud, Keith

Site: https://heasarc.gsfc.nasa.gov/lheasoft/install.html
https://ui.adsabs.harvard.edu/abs/2013ApJ...772....7G

Bibcode: 2021ascl.soft01014G

ID: ascl:2101.014

Post Reply