Last modified: December 2024

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


AHELP for CIAO 4.17 Sherpa

get_resid_image

Context: visualization

Synopsis

Return the data used by image_resid.

Syntax

get_resid_image(id=None)

Example

Return the residual data for the default data set:

>>> rinfo = get_resid_image()

PARAMETERS

The parameter for this function is:

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` .

Return value

The return value from this function is:

resid_img -- The y attribute contains the residual values as a 2D NumPy array.


Bugs

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

See Also

visualization
get_ratio_image, image_resid