Last modified: December 2024

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/get_xsxsect.html
Jump to: · Example · PARAMETERS · XSPEC version · Bugs · See Also


AHELP for CIAO 4.17 Sherpa

get_xsxsect

Context: modeling

Synopsis

Return the cross sections used by X-Spec models.

Syntax

get_xsxsect()

Example

>>> get_xsxsect()
'bcmc'

PARAMETERS

This function has no parameters

Return value

The return value from this function is:

val -- The value of the photoelectric absorption setting: one of 'bcmc', 'obcm', and 'vern'.

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
set_xsxsect