Last modified: December 2022

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

xsconstant

Context: models

Synopsis

The XSPEC constant model: energy-independent factor.

Syntax

xsconstant

The xsconstant model is a multiplicative model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.factor   thawed            1            0        1e+10           

ATTRIBUTES

The attribute for this object is:

Attribute Definition
factor The value of the model.

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
xslog10con, xslogconst