Last modified: December 2024

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


AHELP for CIAO 4.17 Sherpa

get_kernel_plot

Context: plotting

Synopsis

Return the data used by plot_kernel.

Syntax

get_kernel_plot(id=None, recalc=True)

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 Type information Definition
id int, str, or None, optional The data set. If not given then the default identifier is used, as returned by `get_default_id` .
recalc bool, optional 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