Last modified: December 2018

URL: http://cxc.harvard.edu/sherpa/ahelp/xsphabs.html
AHELP for CIAO 4.11 Sherpa v1

xsphabs

Context: models

Synopsis

The XSPEC phabs model: photoelectric absorption.

Syntax

xsphabs

The xsphabs model is a multiplivative model component.

Description

The model is described at [1] .


Example

>>> create_model_component("xsphabs", "mdl")
>>> print(mdl)

Create a component of the xsphabs model and display its default parameters. The output is:

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.nH       thawed            1            0       100000 10^22 atoms / cm^2

ATTRIBUTES

The attribute for this object is:

nH

The equivalent hydrogen column (in units of 10^22 atoms/cm^2).

Notes

The `set_xsxsect` function changes the cross sections used by this model. The `set_xsabund` function changes the relative abundances of the elements.

References

XSPEC version

CIAO 4.11 comes with support for version 12.10.0e of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xsvphabs, xszphabs, xszvphabs