Retrieving RA/Dec positions from SAOtng

The coords public access point allows you to position the mouse and then retrieve the coordinates and value for that position. Unlike most public access points, coords does not execute immediately. Rather, it changes the SAOtng cursor to a blinking circle and waits. You can move the mouse to a location on the image or perform any other SAOtng function: change colormaps, re-scale, etc. When you have positioned the mouse correctly, press the Return key and the coordinates and raw data value will be returned for the specified position. The coordinates are returned in the current format, (e.g. if your image supports WCS information, you can get RA/Dec output). The syntax of coords is:

	xpaget SAOtng coords [hms|degrees|pixels]
Note that you can add an argument to specify a return format other than the current format (subject to availability of WCS info for that image).
Last Updated September 10, 1996