Last modified: December 2020

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/xstbgas.html
AHELP for CIAO 4.13 Sherpa v1

xstbgas

Context: models

Synopsis

The XSPEC TBgas model: ISM grain absorption.

Syntax

xstbgas

The xstbgas model is a multiplicative model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.nH       thawed            1            0       100000      10^22
   mdl.redshift frozen            0            0           10           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
nH The equivalent hydrogen column (in units of 10^22 atoms/cm^2).
redshift The redshift of the absorber.

Notes

The `set_xsabund` function changes the relative abundances of the elements, in particular the "wilm" setting.

References

XSPEC version

CIAO 4.13 comes with support for version 12.10.1s of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xstbabs, xstbfeo, xstbgrain, xstbpcf, xstbrel, xstbvarabs, xsztbabs