get_proj_opt

sherpa.astro.ui.get_proj_opt(name=None)

Return one or all of the options for the confidence interval method.

Note

The conf function should be used instead of proj.

This is a helper function since the options can also be read directly using the object returned by get_proj.

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 the name argument is not recognized.

See also

conf()
Estimate parameter confidence intervals using the confidence method.
proj()
Estimate confidence intervals for fit parameters.
get_proj()
Return the confidence-interval estimation object.
set_proj_opt()
Set an option of the proj estimation object.

Examples

>>> get_proj_opt('sigma')
1
>>> popts = get_proj_opt()
>>> popts['sigma']
1