Last modified: December 2023

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

xsplabs

Context: models

Synopsis

The XSPEC plabs model: power law absorption.

Syntax

xsplabs

The xsplabs model is a multiplicative model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.index    thawed            2            0            5           
   mdl.coef     thawed            1            0          100           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
index The power-law index.
coef The normalization.

References

XSPEC version

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

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

Bugs

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