get_proj_opt
- sherpa.ui.get_proj_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_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
nameargument is not recognized.
See also
confEstimate parameter confidence intervals using the confidence method.
projEstimate confidence intervals for fit parameters.
get_projReturn the confidence-interval estimation object.
set_proj_optSet an option of the proj estimation object.
Examples
>>> get_proj_opt('sigma') 1
>>> popts = get_proj_opt() >>> popts['sigma'] 1