set_covar_opt¶
- sherpa.astro.ui.set_covar_opt(name, val)¶
Set an option for the covariance method.
This is a helper function since the options can also be set directly using the object returned by
get_covar
.- Parameters
- Raises
sherpa.utils.err.ArgumentErr – If the
name
argument is not recognized.
See also
covar
Estimate parameter confidence intervals using the covariance method.
get_covar
Return the covar estimation object.
get_covar_opt
Return one or all options of the covar estimation object.
Examples
>>> set_covar_opt('sigma', 1.6)