| AHELP for CIAO 4.5 Sherpa v1 | image_ratio |
Context: visualization |
Synopsis
Send image of the ratio (i.e., data/model) to ds9.
Syntax
image_ratio( [ id, [newframe=False, tile=False]] )
Description
Sends an image of the data-to-model ratio to the imager--by default, ds9. The data set is a 2-D data set.
- 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_ratio() sherpa> image_ratio(1) sherpa> image_ratio(1, newframe=True, tile=False)
The image_ratio function can be called with no arguments, in which case an image of the ratio associated with the default data set is sent to the imager. 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_resid, image_setregion, image_xpaget, image_xpaset

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