get_psf_contour¶
-
sherpa.ui.
get_psf_contour
(id=None)¶ Return the data used by contour_psf.
Parameters: id (int or str, optional) – The data set. If not given then the default identifier is used, as returned by get_default_id.
Returns: psf_data
Return type: a sherpa.plot.PSFContour instance
Raises: sherpa.utils.err.DataErr
– If the data set is not 2D.sherpa.utils.err.IdentifierErr
– If a PSF model has not been created for the data set.
See also
get_kernel_contour()
- Return the data used by contour_kernel.
contour_kernel()
- Contour the kernel applied to the model of an image data set.
contour_psf()
- Contour the PSF applied to the model of an image data set.
Examples
Return the contour data for the PSF for the default data set:
>>> cplot = get_psf_contour()