Last modified: December 2024

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

xslogconst

Context: models

Synopsis

The XSPEC logconst model: Constant in log units.

Syntax

xslogconst

The xslogconst model is a multiplicative model component.

Description

The model is described at [1] .


Example

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

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

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.logfact  thawed            0          -20           20           

ATTRIBUTES

The attribute for this object is:

Attribute Definition
logfact The constant factor in natural log.

References

XSPEC version

CIAO 4.17 comes with support for version 12.14.0k of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xsconstant, xslog10con