WCSTools Programs

sky2xy
Image Coordinates from Sky Coordinates

sky2xy (pronounced sky-to-X-Y) is a utility for getting the image coordinates of a set of world coordinates in a FITS or IRAF image. World coordinate system (WCS) information in the image header describes, in a standard way, the relationship between sky coordinates and image pixels. This information is used by the program to transform image right ascension and declination sky coordinate pairs to image coordinate (X,Y) pairs. The program prints the coordinates at the same system as is given in the image header, but future versions will allow transformations to B1950/FK4, J2000/FK5, or galactic coordinates. Input and output files in the Starbase format will eventually be allowed.

The inverse program, xy2sky, computes world coordinates from image pixel coordinates.

Command Line Arguments

Examples


Last updated 10 November 2009 by Doug Mink

Telescope Data Center