set_conf_opt

sherpa.astro.ui.set_conf_opt(name, val)

Set an option for the confidence interval method.

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

Parameters
  • name (str) – The name of the option to set. The get_conf 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

conf

Estimate parameter confidence intervals using the confidence method.

get_conf

Return the conf estimation object.

get_conf_opt

Return one or all options of the conf estimation object.

Examples

>>> set_conf_opt('parallel', False)