|
New issues from Xspec 12.5.1
Frequently Asked Questions
List of currently outstanding issues.
Patches:
latest update
12.5.1n Nov 5, 2009
Requires patch installer
v3.1
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 new options available with the latest v3.1, 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 (v3.1), 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.5.1a |
This adds a new nchan option for the tclout command.
Usage is:
tclout nchan [< n>]
where < n> is the spectrum number (default = 1). It retrieves the total number
of channels in the spectrum including ignored channels.
Report added on Aug 25, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUser/Handler/
xsTclout.cxx
|
| 12.5.1b |
The save command does not report an error when it is unable to write
to a file due to file permission settings. Our thanks to Pat Broos for pointing this out.
Report added on Aug 25, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUser/Global/
XSGlobal.cxx and src/XSUser/Handler/
xsSave.cxx
|
| 12.5.1c |
This adds the solar abundance set of Asplund, Grevesse, and Sauval (2006) to
the list of available tables accessed with the abund command. It can
be selected by typing abund aspl. Our thanks to Jeremy Sanders for helping
to provide the table.
Report added on Aug 25, 2009.
This patch modifies heasoft-6.7/Xspec/src/manager/
abundances.dat
|
| 12.5.1d |
The plot options emodel and eemodel cannot be run on
models which have names assigned to them. With this fix they can now be run
with the syntax:
plot (e)emodel < model name>
Our thanks to Franz Bauer for pointing this out.
Report added on Aug 27, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUser/Global/
XSGlobal.cxx
|
| 12.5.1e |
Update for the Asplund et. al. solar abundance set of patch 12.5.1c.
This contains the values reported in ARAA 47, 481 (2009).
Report added on Sep 14, 2009.
This patch modifies heasoft-6.7/Xspec/src/manager/
abundances.dat
|
| 12.5.1f |
Fix to a minor memory error for a particular usage of the lmod command
which had been showing up in the output of the valgrind tool. Our thanks to Jeremy Sanders for pointing this out.
Report added on Sep 14, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUtil/Parse/
XSparse.cxx
|
| 12.5.1g |
The setplot area option cannot currently be used for plotting data sets containing
any channels with zero effective area. With this patch such channels will simply be ignored when plotting, and
a warning message will be issued. Our thanks to Stefano Bianchi for pointing this out.
Report added on Sep 14, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSPlot/Plot/
Plot.cxx
|
| 12.5.1h |
Modification to the behavior of the save command. Where directory
changes are required, it will now store relative rather than
absolute paths. This is to make it easier to reuse save files on
multiple machines. (With this patch the save command will now also
store the model systematic error setting.)
Report added on Sep 28, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSModel/GlobalContainer/
DataContainer.cxx,
.h, XSUser/Global/
XSGlobal.cxx, XSUtil/Parse/
XSparse.cxx,
.h
|
| 12.5.1i |
Reimplementation of the recorn model component. Recorn is now defined
as a multiplicative model component rather than a mixing component. This
increases its flexibility, as it is now possible to include multiple recorn components
in a single model expression. This also fixes a bug in the previous implementation, where
the cornorm parameter did not work as a variable fit parameter. NOTE: To fit to the cornorm
parameter in a recorn component, the USE_NUMERICAL_DIFFERENTIATION flag must be set to true in the user's
Xspec.init startup file. This will perform full numerical differentation on the fit parameters, and is
slower than XSPEC's standard differentiation method.
Report added on Sep 28, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSFit/Fit/
Fit.cxx, XSFit/StatMethod/ChiSquare/
ChiSquare.cxx, XSModel/Model/
Model.cxx,
.h,
ModelBase.h, XSModel/Model/MixFunction/
recorn.cxx,
xsmixFunctionMap.cxx,
.h, XSUser/Handler/
xsAddcomp.cxx,
xsDelcomp.cxx,
xsEditmod.cxx,
xsShow.cxx, and manager/
mixmodel.dat
|
| 12.5.1j |
Fix to a minor help bug. When calling help for the kdblur or
laor models, the pages for kdblur2 and laor2 are displayed instead. This
is only when accessing the locally distributed html pages, and only on Linux. Our thanks
to Hans Krimm for pointing this out.
Report added on Sep 28, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUser/Help/
Help.cxx,
HelpComposite.cxx, and
.h
|
| 12.5.1k |
When initpackage is used to build a custom chain proposal, it does
not properly identify the randomize.dat argument if it is attached to an absolute path.
Our thanks to Jeremy Sanders for pointing this out.
Report added on Sep 28, 2009.
This patch modifies heasoft-6.7/Xspec/src/tools/initpackage/
initpackage.cxx
|
| 12.5.1l |
With this patch, XSPEC will no longer allow spectra to load if they
have zero exposure time. Previously these were allowed to load
in certain situations, creating potential trouble in other parts of the program.
Our thanks to Mike Tripicco for pointing this out.
Report added on Oct 16, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSModel/Data/
OGIP-92aData.cxx and XSModel/Data/BackCorr/
OGIP-92aBackground.cxx
|
| 12.5.1m |
When users accidentally run a script in batch mode using the
"<" redirection symbol, they can get caught in an infinite prompting loop
upon exit. Our thanks to Phil Evans for pointing this out. Note that
the proper way to run an XSPEC script in batch mode is to use a hyphen:
xspec - myScript.xcm
Report added on Oct 16, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSUser/Handler/
xsExit.cxx
|
| 12.5.1n |
The setplot add feature, for viewing the contributions of individual
additive components, cannot be applied to plots containing folded models
(ie. plot data, counts, etc.) when also using energy arrays created with the
energies command. Our thanks to Dominic Walton for pointing this out.
Report added on Nov 05, 2009.
This patch modifies heasoft-6.7/Xspec/src/XSModel/Model/
Model.cxx,
ModelBase.cxx,
.h, and XSModel/Model/Component/
SumComponent.h
|
Older Versions:
|