NAME

wcs - manipulates the World Coordinate System of an image

SYNOPSIS

wcs file [rot=] [scale=] [cstring] [crpix1=] [crpix2=] [outfile=] [rows] [cols] [write] [exp]

DESCRIPTION

Derives the scale and rotation angle of the WCS header in the specified FITs file. It prints out a line like.
scale=0.00100000 pa=0.00 det=1.0 telscale=11.89

If rot the position angle is rotated by the specified number of degrees and the FITs header is updated appropriately. The det value is the determinant of the PV matrix.

The telescope scale in arc-seconds/mm is also calculated. It assumes square pixels.

If the fits_file contains old style CDi_J values these are converted to PVi_j. If this happens the write option should be used.

OPTIONS

cols - flips the WCS sense in cols.

crpix1 and crpix2= are used to overrite the pixel used for the reference position.

cstring - a coordinate string is used to specify the reference position.

exp - prints scale out in exponential notation.

outfile= makes the changes in the specified file instead of overwriting the present one.

rows - flips the WCS sense in rows.

rot= sets the position angle in degrees (default: 0.0).

scale= changes the scale factor by the ratio (default: 1.0).

write- allows the file to write to file to change CD to PV.


XVista index