|
|
|
|
SynopsisSend data to ds9 using XPA. Syntaximage_xpaset( arg ) DescriptionThe image_xpaset function is used to send data to the SAO imager, ds9. An example would be to send ds9 an image file to display. The image_xpaset function provides a simple, easy to use, interface which is similar to the xpaset command-line tool [http://hea-www.harvard.edu/saord/xpa/programs.html#xpaset] from the XPA package. A call to the function image_xpaset("file foo.fits") would translate to 'xpaset -p ds9 file foo.fits' on the command line. Example
sherpa> image_xpaset("file foo.fits")
sherpa> image_xpaset("frame new")
sherpa> image_xpaset("grid yes")
sherpa> image_xpaset("regions foo.reg")
sherpa> image_xpaset("saveimage jpeg foo.jpg")
sherpa> image_xpaset("wcs replace file foo.wcs")The image_xpaset function accepts (1) string argument using it as the command 'xpaset -p 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. |