get_bkg_resid_plot

sherpa.astro.ui.get_bkg_resid_plot(id=None, bkg_id=None)

Return the data used by plot_bkg_resid.

Parameters:
  • id (int or str, optional) – The data set that provides the data. If not given then the default identifier is used, as returned by get_default_id.
  • bkg_id (int or str, optional) – Identify the background component to use, if there are multiple ones associated with the data set.
Returns:

source – An object representing the data used to create the plot by plot_bkg_resid.

Return type:

a sherpa.astro.plot.BkgResidPlot instance

Raises:

See also

get_bkg_chisqr_plot()
Return the data used by plot_bkg_chisqr.
get_bkg_delchi_plot()
Return the data used by plot_bkg_delchi.
get_bkg_ratio_plot()
Return the data used by plot_bkg_ratio.
plot_bkg_resid()
Plot the residual (data-model) values for the background of a PHA data set.