Last modified: December 2022

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

xspegpwrlw

Context: models

Synopsis

The XSPEC pegpwrlw model: power law, pegged normalization.

Syntax

xspegpwrlw

The xspegpwrlw model is an additive model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.PhoIndex thawed            1           -3           10           
   mdl.eMin     frozen            2         -100        1e+10        keV
   mdl.eMax     frozen           10         -100        1e+10        keV
   mdl.norm     thawed            1            0        1e+24           

ATTRIBUTES

The attributes for this object are:

Attribute Definition
PhoIndex The power law photon index.
eMin The lower peg for the normalization, in keV.
eMax The upper peg for the normalization, in keV.
norm The flux, in units of 10^-12 erg/cm^2/s, over the range eMin to eMax. If eMin=eMax then it is the flux in micro-Jy at eMin.

References

XSPEC version

CIAO 4.15 comes with support for version 12.12.1c of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xspowerlaw