Synopsis
Return the data used by plot_rmf.
Syntax
get_rmf_plot(id=None, resp_id=None, recalc=True)
Description
Examples
Example 1
Return the RMF plot data for the default data set:
>>> rplot = get_rmf_plot()
Example 2
Return the RMF data for the second response of the data set labelled 'histate', and then plot it:
>>> rplot = get_rmf_plot('histate', 2) >>> rplot.plot()
PARAMETERS
The parameters for this function are:
Parameter | Type information | Definition |
---|---|---|
id | int, str, or None, optional | The data set with a RMF. If not given then the default identifier is used, as returned by `get_default_id` . |
resp_id | int, str, or None, optional | Which RMF to use in the case that multiple RMFs are associated with a data set. The default is none , which means the first one. |
recalc | bool, optional | If False then the results from the last call to `plot_rmf` (or `get_rmf_plot` ) are returned, otherwise the data is re-generated. |
Changes in CIAO
Added in CIAO 4.16
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- plotting
- plot_rmf