set_proj_opt¶
- sherpa.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
nameargument is not recognized.
See also
confEstimate parameter confidence intervals using the confidence method.
projEstimate parameter confidence intervals using the projection method.
get_projReturn the proj estimation object.
get_proj_optReturn one or all options of the proj estimation object.
Examples
>>> set_proj_opt('parallel', False)