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

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


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

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.