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:
  • name (str) – The name of the option to set. The get_covar routine can be used to find out valid values for this argument.
  • val – The new value for the option.
Raises:

sherpa.utils.err.ArgumentErr – If the name argument is not recognized.

See also

covar()
Estimate 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)