get_kernel_contour¶
-
sherpa.ui.
get_kernel_contour
(id=None)¶ Return the data used by contour_kernel.
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.PSFKernelContour 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_psf_contour()
- Return the data used by contour_psf.
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 kernel for the default data set:
>>> kplot = get_kernel_contour()