About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2007

URL: http://cxc.harvard.edu/sherpabeta/image_xpaget.py.html
AHELP for Sherpa 4.0 Beta image_xpaget Context: py.sherpa

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. An example would be to ask ds9 what file it was displaying. The image_xpaget() function provides a simple, easy to use, 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.

Example

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

The image_xpaget function accepts (1) string argument using it as the command 'xpaget ds9 arg'.

Bugs

See the bugs pages on the Sherpa Beta website for an up-to-date listing of known bugs.

Last modified: December 2007



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