Synopsis
Contour the fit and the residuals to a data set.
Syntax
contour_fit_resid(id=None, replot=False, overcontour=False, **kwargs)
Description
Overplot the model - including any PSF - on the data. In a separate plot contour the residuals. The preferences are the same as `contour_data` and `contour_model` .
Example
Plot the fit and residuals for the default data set:
>>> contour_fit_resid()
PARAMETERS
The parameters for this function are:
Parameter | Type information | Definition |
---|---|---|
id | int, str, or None, optional | The data set that provides the data and model. If not given then the default identifier is used, as returned by `get_default_id` . |
replot | bool, optional | Set to True to use the values calculated by the last call to `contour_fit_resid` . The default is False . |
overcontour | bool, optional | If True then add the data to an existing plot, otherwise create a new contour plot. The default is False . |
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- psfs
- contour_kernel, contour_psf
- visualization
- contour, contour_data, contour_fit, contour_model, contour_ratio, contour_resid, contour_source