set_proj_opt

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

Set an option for the projection method.

Note

The conf function should be used instead of proj.

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

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

proj

Estimate parameter confidence intervals using the projection method.

get_proj

Return the proj estimation object.

get_proj_opt

Return one or all options of the proj estimation object.

Examples

>>> set_proj_opt('parallel', False)