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

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


AHELP for CIAO 4.9 Sherpa v1

image_xpaget

Context: visualization

Synopsis

Retrieve data from ds9 using XPA.

Syntax

image_xpaget( arg )

Description

The image_xpaget() function is used to retrieve data from the SAO imager, ds9, using XPA; it provides a simple, user-friendly interface which is similar to the xpaget command-line tool [http://hea-www.harvard.edu/saord/xpa/programs.html#xpaget] from the XPA package. A call to the function image_xpaget("file") would translate to 'xpaget ds9 file' on the command line.

  • arg - string value; "arg" in the command-line syntax 'xpaget ds9 arg'.

Example

sherpa> image_xpaget("file")
sherpa> image_xpaget("regions")
sherpa> image_xpaget("wcs sky")

The image_xpaget function accepts one string argument, using it as the command 'xpaget ds9 arg'. For example, to ask ds9 which file is currently displayed, or which regions have been defined, one would use "file" or "regions" as the argument, respectively.

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_resid, image_setregion, 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.