next up previous FITS Documents
Next: Pixel list Up: Example FITS Headers Previous: BINTABLE vector with fixed

BINTABLE vector with variable transformation parameters

This table, like the previous example, has 4 rows, each of which contains a 300 x 200 pixel image. In this case, however, the position of the image on the sky varies from image to image and so the Reference Values must be supplied in columns in the table rather than as header keywords. The pixel size and image rotation are still assumed to be the same for each image.

XTENSION= 'BINTABLE'           / binary table extension
BITPIX  =                    8 / 8-bit bytes
NAXIS   =                    2 / 2-dimensional binary table
NAXIS1  =               240024 / width of table in bytes
NAXIS2  =                    4 / number of rows in table
PCOUNT  =                    0 / size of special data area
GCOUNT  =                    1 / one data group (required keyword)

TFIELDS =                    4 / number of fields in each row
TTYPE1  = 'Name    '           / name of observed object
TFORM1  = '16A     '           / data format of the field: ASCII Character
TTYPE2  = '1CRVL4  '           / reference pixel of axis 1 in column 5
TFORM2  = '1E      '           / data format of the field: R*4
TTYPE3  = '2CRVL4  '           / reference pixel of axis 2 in column 5
TFORM3  = '1E      '           / data format of the field: R*4
TTYPE4  = 'Image   '           / 2-D image vector
TFORM4  = '60000J  '           / data format of the field: I*4 vector
TDIM4   = '(300,200)'          / dimension sizes of the vector

COMMENT  The following keywords define the coordinate system of the image
COMMENT  contained in Column 5 of the table

1CTYP4  = 'RA---TAN'           / TAN projection used
1CRPX4  =                  150 / reference pixel
1CDLT4  =           -.00277777 / increment per pixel
1CUNI4  = 'deg     '           / physical units of axis 1

2CTYP4  = 'DEC--TAN'           / TAN projection used
2CRPX4  =                  100 / reference pixel
2CDLT4  =            .00277777 / increment per pixel
2CUNI4  = 'deg     '           / physical units of axis 2
2CROT4  =                 30.0 / image rotation (degrees)

11PC4   =           .866025403 / Coord. Descrp. Matrix:  cos(CROTA2)
22PC4   =                  -.5 / Coord. Descrp. Matrix: -sin(CROTA2)
12PC4   =                   .5 / Coord. Descrp. Matrix:  sin(CROTA2)
21PC4   =           .866025403 / Coord. Descrp. Matrix:  cos(CROTA2)

EQUINOX =               2000.0 / coordinate epoch
MJD-OBS =        44258.7845612 / MJD of the observation
END