next up previous FITS Documents
Next: BINTABLE vector with variable Up: Example FITS Headers Previous: Primary Array

BINTABLE vector with fixed transformation parameters

In this example the image is stored as a vector in column 2 of the table where each row of the table contains a different 300 x 200 pixel image of the same object (taken at different times). All the coordinate system parameters are the same for each image and are given as header keywords, except that the MJD-OBS column gives the date corresponding to the image in that row.

XTENSION= 'BINTABLE'           / binary table extension
BITPIX  =                    8 / 8-bit bytes
NAXIS   =                    2 / 2-dimensional binary table
NAXIS1  =               240008 / 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 =                    2 / number of fields in each row
TTYPE1  = 'MJD-OBS '           / date of observation
TFORM1  = '1D      '           / data format of the field: double
TTYPE2  = 'Image   '           / 2-D image vector
TFORM2  = '60000J  '           / data format of the field: I*4 vector
TDIM2   = '(300,200)'          / dimension sizes of the vector

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

1CTYP2  = 'RA---TAN'           / TAN projection used in axis 1 
1CRPX2  =                  150 / reference pixel in axis 1 
1CRVL2  =                45.83 / RA at the reference pixel
1CDLT2  =           -.00277777 / increment per pixel
1CUNI2  = 'deg     '           / physical units of axis 1

2CTYP2  = 'DEC--TAN'           / TAN projection used
2CRPX2  =                  100 / reference pixel
2CRVL2  =                63.57 / DEC at the reference pixel
2CDLT2  =            .00277777 / increment per pixel
2CUNI2  = 'deg     '           / physical units of axis 2
2CROT2  =                 30.0 / image rotation (degrees)

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

EQUINOX =               2000.0 / coordinate epoch
END