Create a contour plot for an image data set.
Create one or more contour plots, depending on the arguments it is set: a plot type, followed by an optional data set identifier, and this can be repeated. If no data set identifier is given for a plot type, the default identifier - as returned by get_default_id - is used. This is for 2D data sets.
sherpa.utils.err.DataErr – The data set does not support the requested plot type.
Contour the values of an image data set.
Contour the fit to a data set.
Contour the fit and the residuals to a data set.
Contour the kernel applied to the model of an image data set.
Contour the values of the model, including any PSF.
Contour the PSF applied to the model of an image data set.
Contour the ratio of data to model.
Contour the residuals of the fit.
Contour the values of the model, without any PSF.
Return the default data set identifier.
Set the coordinate system to use for image analysis.
The supported plot types depend on the data set type, and include the following list. There are also individual functions, with
contour_prepended to the plot type, such as contour_data and the contour_fit_resid variant:
Contours of the data and the source model.
Two plots: the first is the contours of the data and the source model and the second is the residuals.
The source model including any PSF convolution set by set_psf.
Contours of the ratio image, formed by dividing the data by the model.
Contours of the residual image, formed by subtracting the model from the data.
The source model (without any PSF convolution set by set_psf).
>>> contour('data', 1, 'data', 2)
>>> contour('data', 'model')
>>> contour('data', 'model', 'fit', 'resid')