get_kernel_contour

sherpa.astro.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

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()