get_conf_opt¶
-
sherpa.ui.
get_conf_opt
(name=None)¶ Return one or all of the options for the confidence interval method.
This is a helper function since the options can also be read directly using the object returned by get_conf.
Parameters: name (str, optional) – If not given, a dictionary of all the options are returned. When given, the individual value is returned. Returns: value Return type: dictionary or value Raises: sherpa.utils.err.ArgumentErr
– If thename
argument is not recognized.See also
conf()
- Estimate confidence intervals using the confidence method.
get_conf()
- Return the confidence-interval estimation object.
set_conf_opt()
- Set an option of the conf estimation object.
Examples
>>> get_conf_opt('verbose') False
>>> copts = get_conf_opt() >>> copts['verbose'] False