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
nameargument is not recognized.
See also
confEstimate parameter confidence intervals using the confidence method.
get_confReturn the conf estimation object.
get_conf_optReturn one or all options of the conf estimation object.
Examples
>>> set_conf_opt('parallel', False)