Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/sherpa/ahelp/image_ratio.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.9 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

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.