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 2006

URL: http://cxc.harvard.edu/ciao3.4/slds9_get_coords.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 ds9_get_coords Context: ds9

Synopsis

Retrieve position of next mouseclick within any frame

Syntax

(x, y) = ds9_get_coords()
(x, y) = ds9_get_coords( [ coord_sys, handle ] )

Description

Changes cursor to an annulus and pauses DS9 until the next mouseclick within any frame, after which the mouse coordintes are returned. By default these values wull be of Double_Type in the physical coordinate system, or (-1,-1) on error. Image pixel and WCS coordinate values may be obtained by passing in a coord_sys of "image" or "wcs" respectively (the default is "physical"). Note that the return values may be of String_Type if coord_sys contains additional qualifiers, such as "wcs fk5 sexagesimal".

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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.