Last modified: December 2024

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/set_xsxsect.html
AHELP for CIAO 4.17 Sherpa

set_xsxsect

Context: modeling

Synopsis

Set the cross sections used by X-Spec models.

Syntax

set_xsxsect(name)

Description

Set the X-Spec photoelectric absorption cross-sections setting, which changes the cross-sections used by all X-Spec absorption models except for `XSwabs` . It is equivalent to the X-Spec xsect command [1] .


Example

>>> set_xsxsect('vern')
 Cross Section Table set to vern:  Verner, Ferland, Korista, and Yakovlev 1996

PARAMETERS

The parameter for this function is:

Parameter Type information Definition
name { 'bcmc', 'obcm', 'vern' } The options are: 'bcmc' from [2] with a new He cross-section based on [3] ; 'obcm' which is, the same as 'bcmc', but with the He cross-section from [2] , or 'vern' [4] .

Notes

The screen output of this function is controlled by the X-Spec chatter setting ( `set_xschatter` ).

References

XSPEC version

CIAO 4.17 comes with support for version 12.14.0k of the XSPEC models. This can be checked with the following:

% python -c 'from sherpa.astro import xspec;
print(xspec.get_xsversion())'
12.14.0k

Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

modeling
get_xsxsect