Synopsis
Set the chatter level used by X-Spec.
Syntax
set_xschatter(level) level - int
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 the default used by X-Spec:
>>> set_xschatter(10)
PARAMETERS
The parameter for this function is:
Parameter | Definition |
---|---|
level | 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. |
Notes
The default chatter setting used by Sherpa is 0 , which is lower than - so, creates less screen output - the default value used by X-Spec ( 10 ).
There is no way to change the X-Spec "log chatter" setting.
References
- [1] https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XSchatter.html Note that this may refer to a newer version than the compiled version used by Sherpa; use `get_xsversion` to check.
XSPEC version
CIAO 4.13 comes with support for version 12.10.1s of the XSPEC models. This can be checked with the following:
% python -c 'from sherpa.astro import xspec; print(xspec.get_xsversion())' 12.10.1s
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- modeling
- get_xschatter