Create a contour plot of a PSF
contour_psf([id,] [replot=False,] [overcontour=False]])
The contour_psf command creates a contour plot of the PSF image.
To plot multiple contour components at the same time (e.g.
fit, source, and residuals), use the contour command
("ahelp contour")
.
-
id - the id of the dataset to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
-
replot - should the cached arrays be used in the plot?
False (default)=do the calculation, True=redisplay the
existing values
-
overcontour - overplot the contour?
default=False
(clear the window before plotting)
The plot is displayed in a ChIPS plotting window. If there is
no plotting window open, one is created. If a plotting window
exists, the overcontour parameter value determines whether the
new plot is overlaid on any existing plots in the window or if
the window is cleared before the plot is drawn.
ChIPS commands may be used within Sherpa to modify plot
characteristics and create hardcopies; refer to the ChIPS website for
information.
Create a contour plot of the PSF for the default dataset, using
the default settings.
sherpa> contour_psf("src", overcontour=True)
Make a contour plot of the PSF for dataset "src",
overplotting if there is an existing ChIPS window.
- py.sherpa
-
contour,
contour_data,
contour_fit,
contour_fit_resid,
contour_model,
contour_ratio,
contour_resid,
contour_source,
delete_psf,
get_psf,
image_psf,
load_psf,
plot_psf,
set_psf
|