Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python
    (updated 03/16/12) (updated 07/11/12)    

New issues from Xspec 12.7.1

Frequently Asked Questions

List of currently outstanding issues.


latest update 12.7.1d Jul 11, 2012

Requires patch installer v4.2

To apply patches, you'll need to have downloaded and already built the source code distribution of XSPEC. For details about the patch installer including options available with the latest v4.2, click here. Otherwise, just follow the instructions below.

(Note: This assumes you have already set your HEADAS environment variables with the headas-init script, as you would if you were running XSPEC.)

To make sure your XSPEC installation is up to date with ALL listed patches:

1.    If you don't already have the patch installer tcl script (v4.2), download and place it in the XSPEC src directory. This directory should be at heasoft-[ver]/Xspec/src from the source code distribution.

2.    Download the latest patchfile into the same directory. There is no need to unzip/untar the patchfile since the installer will do that.

3.    At the command line, launch the script by typing 'tclsh patch_install_[ver].tcl', and that's all.

The script should detect which patches you've installed previously, copy the new code files to the necessary directories, determine whether complete or only partial rebuilds are necessary, and finally perform the rebuilds. Numbers listed in red indicate that the patch modifies the interface to one or more of XSPEC's libraries. These patches will generally cause longer rebuilds. If you have a local model library, it is recommended (though not always necessary) that you rebuild it with initpackage after applying red patches.

12.7.1a XSPEC is rejecting response files whose EBOUNDS extension is missing a DETCHANS keyword. In this case, XSPEC should just assume DETCHANS equals the number of EBOUNDS rows. Our thanks to Mike Corcoran for pointing this out. Report added on Mar 19, 2012.

This patch modifies heasoft-6.12/Xspec/src/XSModel/Data/Detector/ OGIP-92aResponse.cxx

12.7.1b When doing multi-panel plots of plot chain, the parameter arguments for the last chain plot are being sent to each of the plots. This patch also improves the error handling in the plot chain and plot model commands. Our thanks to Jose Martí for pointing this out. Report added on Mar 21, 2012.

This patch modifies heasoft-6.12/Xspec/src/XSPlot/Commands/ PlotMcmc.cxx, .h, PlotModel.cxx, .h, XSPlot/Plot/ PlotCommand.cxx, .h, PlotDirector.cxx, PlotGroupCreatorClasses.cxx, .h, and XSUser/Global/ XSGlobal.cxx

12.7.1c This adds a new thin option to plot chain, for plotting Monte-Carlo Markov chains. When thin < N > is inserted into a plot chain command, only 1 out of every < N > chain points will be displayed in the plot. Example usage:

   # plot one in five chain points, using parameters 1 and 4 for (X,Y)
   XSPEC12>plot chain thin 5   1   4

The thin value will be retained for future chain plots until it is reset. Use thin 1 to remove thinning. Our thanks to Jeremy Sanders for this suggestion. Report added on Jul 11, 2012.

This patch modifies heasoft-6.12/Xspec/src/XSPlot/Commands/ PlotMcmc.cxx, XSPlot/Plot/ PlotGroupCreatorClasses.cxx and .h

12.7.1d This adds new ways to retrieve the list of ignored channels, in both standard XSPEC and PyXspec. In standard XSPEC this is done with the new tclout ignore < N > option, where < N > is the spectrum number.

In PyXspec, there are now 2 additions to the Spectrum class: an ignored attribute and an ignoredString() function. The former returns a Python list object containing every ignored channel number. The latter returns the same information in convenient string form, which can be reused as input to a future ignore or notice command. Our thanks to Terry Gaetz for this suggestion. Report added on Jul 11, 2012.

This patch modifies heasoft-6.12/Xspec/src/XSUser/Handler/ xsTclout.cxx, XSUser/Python/xspec/ PySpectrum.cxx, .h, pyXspecmodule.cxx and

Older Versions:

Final issues/patches pages:
Links to v11 bugs pages:
       v11 Bugs       v11 Bug reporters

Xspec Xspec Home Page

HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Wednesday, 02-Jul-2014 15:50:50 EDT