Last modified: December 2023

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/get_kernel_plot.html
Jump to: · Example · PARAMETERS · Bugs · See Also


AHELP for CIAO 4.16 Sherpa

get_kernel_plot

Context: plotting

Synopsis

Return the data used by plot_kernel.

Syntax

get_kernel_plot(id=None, recalc=True)

id - int or str, optional
recalc - bool, optional

Example

Return the plot data and then create a plot with it:

>>> kplot = get_kernel_plot()
>>> kplot.plot()

PARAMETERS

The parameters for this function are:

Parameter Definition
id The data set. If not given then the default identifier is used, as returned by `get_default_id` .
recalc If False then the results from the last call to `plot_kernel` (or `get_kernel_plot` ) are returned, otherwise the data is re-generated.

Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

psfs
get_psf_plot, plot_kernel