Last modified: December 2022

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


AHELP for CIAO 4.15 Sherpa

get_resid_contour

Context: visualization

Synopsis

Return the data used by contour_resid.

Syntax

get_resid_contour(id=None, recalc=True)

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

Example

Return the residual data for the default data set:

>>> rinfo = get_resid_contour()

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 `contour_resid` (or `get_resid_contour` ) are returned, otherwise the data is re-generated.

Return value

The return value from this function is:

resid_data -- The y attribute contains the residual values and the x0 and x1 arrays contain the corresponding coordinate values, as one-dimensional arrays.


Bugs

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

See Also

visualization
contour_resid, get_ratio_contour