Last modified: December 2021

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/xslogconst.html
AHELP for CIAO 4.14 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

Changes in CIAO

New in CIAO 4.14

The xslogconst model (added in XSPEC 12.11.0) is new in CIAO 4.14.

XSPEC version

CIAO 4.14 comes with support for version 12.12.0 of the XSPEC models. This can be checked with the following:

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

Bugs

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

See Also

models
xsconstant, xslog10con