| AHELP for CIAO 4.5 Sherpa v1 | image_resid |
Context: visualization |
Synopsis
Send image of the residuals (i.e., data - model) to ds9.
Syntax
image_resid( [ id, [newframe=False, tile=False]] )
Description
Sends an image of the residuals to the imager--by default, ds9. The data set is a 2-D data set. The residuals are of the model subtracted from the data.
- id - the id of the data set to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
- newframe - add a new frame; default=False
- tile - tile image frame; default=False
Example
sherpa> image_resid() sherpa> image_resid(1) sherpa> image_resid(1, newframe=True, tile=False)
The image_resid function can be called with no arguments, in which case an image of the residuals associated with the default data set is sent to ds9. By default, the image is sent to the same frame and the frames are not tiled.
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- data
- load_image, pack_image, unpack_image
- modeling
- image_model, image_model_component, image_source, image_source_component
- psfs
- image_kernel
- visualization
- contour, contour_data, contour_model, contour_ratio, contour_resid, image_close, image_data, image_deleteframes, image_fit, image_getregion, image_open, image_ratio, image_setregion, image_xpaget, image_xpaset

![[Sherpa Logo]](../imgs/sherpa_logo_navbar.gif)