|
|
|
|
SynopsisRetrieve data from ds9 using XPA. Syntaximage_xpaget( arg ) DescriptionThe 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'. BugsSee the bugs pages on the Sherpa Beta website for an up-to-date listing of known bugs. |
![]() |
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. |