|AHELP for CIAO 4.9 Sherpa v1||
Retrieve data from ds9 using XPA.
image_xpaget( arg )
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'.
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.
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
- load_image, pack_image, unpack_image
- image_model, image_model_component, image_source, image_source_component
- 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