Synopsis
Return one or all of the options for the confidence interval method.
Syntax
get_conf_opt(name=None) name - str, optional
Description
This is a helper function since the options can also be read directly using the object returned by `get_conf` .
Examples
Example 1
>>> get_conf_opt('verbose') False
Example 2
>>> copts = get_conf_opt() >>> copts['verbose'] False
PARAMETERS
The parameter for this function is:
Parameter | Definition |
---|---|
name | If not given, a dictionary of all the options are returned. When given, the individual value is returned. |
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- confidence
- get_conf, set_conf_opt