A PAF FILE FORMAT
A.1 PAF HEADER
The original header using the "SUP" category keywords, has been replaced by the so-called PAF Header. The format of this can be found in [4].
A.2 CONVERSION BETWEEN SHORT-FITS AND `NORMAL' FITS
The conversion rules between the two formats are as follows:
The format of a hierarchical FITS command line is as follows:
HIERARCH ESO <cat> [<sub>] <par> = <val> [/ <comment>]
where zero, one or more sub-systems can be defined, and an inline comment can be added.
<cat>.[<sub>].<par> <val>; [# <comment>]
which has the same hierarchical structure as the original, making the conversion easy. Note that the values in the Short-FITS format must be terminated by a semicolon. The equal sign is no-longer used. This is replaced by one blank. The keywords are separated with dots.
An example of this conversion is:
HIERARCH ESO INS LAMP-1 ST = T / Turn LAMP-1 ON
INS.LAMP-1.ST "T"; # Turn LAMP-1 ON
The conversion rule for standard FITS keywords is the same as for the Short-FITS keywords.
Conversion of the "COMMENT" keyword:
The "COMMENT" keyword is converted in the following manner:
A string is converted between the two formats, applying the following rule:
Since the transformation between the two formats of FITS keywords is relatively simple, only the Short-FITS format is used in the following description.
B DICTIONARY EXAMPLE
Dictionary Name: ESO-VLT-DIC.ISAAC
Parameter Name: ADA ABSROT MIN
Comment Field: Min rot angle of adapter during exp
Parameter Name: ADA ABSROT MAX
Comment Field: Max rot angle of adapter during exp
Parameter Name: DET FRAM CDELT1
Comment Field: Binning factor along X
Parameter Name: DET FRAM CDELT2
Comment Field: Binning factor along Y
Parameter Name: DET FRAM CRPIX1
Comment Field: X coordinate of reference pixel
Parameter Name: DET FRAM CRPIX2
Comment Field: Y coordinate of reference pixel
Comment Field: OPTI-i unique id
Parameter Name: INS OPTI-1 NAME
Comment Field: OPTI-i unique name
Comment Field: OPTI-i current position
Parameter Name: INS OPTI-1 TYPE
Comment Field: OPTI-i optical kind
C EXAMPLE OF ALIAS CONVERSION TABLE
Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |