Last modified: December 2024

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

set_xschatter

Context: modeling

Synopsis

Set the chatter level used by X-Spec.

Syntax

set_xschatter(level)

Description

Set the chatter setting used by the X-Spec routines for determining what information gets printed to the screen. It is equivalent to the X-Spec chatter command [1] .


Example

Set the chatter level to hide most, if not all, output from X-Spec models:

>>> set_xschatter(0)

PARAMETERS

The parameter for this function is:

Parameter Type information Definition
level int The higher the value of level , the more screen output will be created by X-Spec routines. A value of 0 hides most information while 25 will generate a lot of debug output. The starting value is 10 .

Notes

There is no way to change the X-Spec "log chatter" setting.

References

Changes in CIAO

Changed in CIAO 4.14

The default chatter setting has been bumped from 0 to 10 to match XSPEC. Users will see extra screen output the first time some XSPEC models are evaluated.

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

modeling
get_xschatter