next up previous contents
Next: Data Records Up: Header Previous: Required Keywords   Contents


Random Parameter Reserved Keywords

The random parameters may be labeled and scaled in a fashion similar to the members and axes of a Basic FITS array, using the keywords PSCAL$n$ and PZERO$n$:

$\displaystyle \mbox{physical\_value}$ $\textstyle =$ $\displaystyle (\mbox{FITS\_value}) \times \mbox{PSCAL$n$} + \mbox{PZERO$n$}.$ (3.8)

The following keywords are reserved for describing random parameters.

Even though the random parameters must have the same data type as the array elements, greater precision can be achieved in the random parameters than in the data array through the use of repeated PTYPE$n$ keywords. If more than one PTYPE$n$ keyword has the same value, then the parameters associated with all those PTYPE$n$ keywords are being used to represent the same quantity. The value of that quantity is derived by summing the true values derived for the parameters $n$ corresponding to those PTYPE$n$ keywords - the values derived using the stored values and the PSCAL$n$ and PZERO$n$ values. For example, if

PTYPE1  = 'GLON    '
PTYPE2  = 'GLON    '
PSCAL1  =                  1.0
PSCAL2  =              1.0E-04

where GLON stands for Galactic longitude, then the value of Galactic longitude for each group is derived by adding the value of the first random parameter for that group to 10$^{\rm -4}$ times the value of the second random parameter.

The rules governing units in random groups are the same as those for a primary data array, as given in section 3.1.1.4.


next up previous contents
Next: Data Records Up: Header Previous: Required Keywords   Contents
William Pence 2004-01-07