7.5.3.3: Specifications for DEIMOS Image Grouping table extension

The image grouping table points to the locations of all image HDUs from a single CCD readout.

7.5.3.3.1: The Grouping FITS Header

Here follows a draft schematic for the contents of the FITS header:
XTENSION= 'TABLE   '           / ASCII table extension
BITPIX  =                    8 / number of bits per data pixel
NAXIS   =                    8 / number of data axes
NAXIS1  =                  102 / number of chars needed to describe members
NAXIS2  =                    4 / number of member HDUs in the group
PCOUNT  =                    0 / required FITS extension keyword
GCOUNT  =                    1 / required FITS extension keyword
TFIELDS =                    5 / Number of columns in the table

EXTNAME = 'GROUPING'           / This table describes a group
EXTVER  =                    1 / Unique index of this grouping table in file
GRPNAME = 'DEIMOS_Image_Group' / Is this really a good value to use here?
DATE    = 'dd/mm/yy'           / Date of construction of grouping table
CTIME   = 'WkD CcYy Mon Dt Hr:Mn:Ss TZn' / Time of construction of table

TBCOL1  =                    1 / First character in column 1
TFORM1  = 'A8'                 / Fortran 77 format of column 1
TTYPE1  = 'MEMBER_XTENSION'    / To find member HDUs by reference

TBCOL2  =                    9 / First character in column 2
TFORM2  = 'A24'                / Fortran 77 format of column 2
TTYPE2  = 'MEMBER_NAME'        / To find member HDUs by reference

TBCOL3  =                   33 / First character in column 3
TFORM3  = 'I3'                 / Fortran 77 format of column 3
TTYPE3  = 'MEMBER_VERSION'     / To find member HDUs by reference

TBCOL4  =                   36 / First character in column 4
TFORM4  = 'A3'                 / Fortran 77 format of column 4
TTYPE4  = 'MEMBER_URI_TYPE'    / To find member HDUs in other FITS files

TBCOL5  =                   39 / First character in column 5
TFORM5  = 'A64'                / Fortran 77 format of column 5
TTYPE5  = 'MEMBER_LOCATION'    / To find member HDUs in other FITS files

END
The header is padded with ASCII blanks such that it consists of a positive integer multiple of 2880 bytes (36 card images of 80 characters).

The value of the keyword GRPNAME deserves further scrutiny. Other kinds of FITS groups for DEIMOS data may become desirable; e.g., groups which relate calibration exposures to sky exposures. It may also be desirable to insert other kinds of documentary data using additional standard and/or DEIMOS-specific keywords. The DATE keyword presents an obvious problem as we enter a new century, but the FITS community has not yet developed an alternative scheme.

7.5.3.3.2: The Grouping FITS data table

In an actual FITS data table there need be no character denoting the boundaries between the various columns. The following schematic representations of a DEIMOS grouping table insert the character `|' for readability. This table documents a situation where the image from each CCD was stored into a separate FITS file on disk.
PRIMARY|                        |   |URL|d0001_1.fits
PRIMARY|                        |   |URL|d0001_2.fits
PRIMARY|                        |   |URL|d0001_3.fits
PRIMARY|                        |   |URL|d0001_4.fits
PRIMARY|                        |   |URL|d0001_5.fits
PRIMARY|                        |   |URL|d0001_6.fits
PRIMARY|                        |   |URL|d0001_7.fits
PRIMARY|                        |   |URL|d0001_8.fits
Note that PHDU with the CCD image data may not contain EXTNAME or EXTVER cards, so these fields are blank.

When the image is grouped for archival storage and shipment everything will be stored within a single FITS file on disk. This table documents a situation where the image from each CCD is stored into a FITS IMAGE extension within the same file.

IMAGE  |DEIMOS_Single_CCD       |  1|   |
IMAGE  |DEIMOS_Single_CCD       |  2|   |
IMAGE  |DEIMOS_Single_CCD       |  3|   |
IMAGE  |DEIMOS_Single_CCD       |  4|   |
IMAGE  |DEIMOS_Single_CCD       |  5|   |
IMAGE  |DEIMOS_Single_CCD       |  6|   |
IMAGE  |DEIMOS_Single_CCD       |  7|   |
IMAGE  |DEIMOS_Single_CCD       |  8|   |
Note that all these tables reside in the same file as the grouping table, so the URI and location fields are blank.

The table is padded with ASCII blanks such that it consists of a positive integer multiple of 2880 bytes.

The EXTNAMEs for the DEIMOS tables deserve further scrutiny. See the discussion in the documents that define the tables.


Back to the DEIMOS home page.
Steve Allen <sla@ucolick.org>
$Date: 1996/03/13 21:29:40 $