 
 
 
 
 
 
 
 
 
 
 
 Operation:  Extract all relevant data from the SPD header.
The keywords from the SPD FITS header are read and stored internally for processing. The information is eventually passed to the AAR product headers. The following items are extracted from the SPD, the symbols in parenthesis will be used in the remainder of this chapter:
 )
) )
) )
)
 ,
, 
 )
) ,
, 
 )
) , relative background subtracted source flux ratio for
	aperture
, relative background subtracted source flux ratio for
	aperture 
 , uncertainty in ratio for aperture
, uncertainty in ratio for aperture 
SPD product
 
 Operation:  Extract necessary information from an SPD
  record.
The following data are taken from each SPD record:
For PHT-C and PHT-S, power, uncertainty, plateau length, and quality flags refer to each pixel separately. The chopper step number is used to check that an on-source and off-source pair are available for each chopped measurement in the AA processing.
SPD product
 
 Operation:  For all SPD records, derive:
  (1) the sky position (in RA and Dec) of the detector origin, and
  (2) the RA and Dec offsets (in arcsec) for each detector pixel with respect
      to the raster centre.
For a given SPD record, the position of a pixel on the sky is determined by:
All three instances can occur during the same measurement in case of AOT PHT32 where the chopper is performing a saw-tooth scan using one of the C-arrays while the spacecraft is rastering in spacecraft reference coordinates.
For single pointing photometry the pointing keywords in the SPD product header (Section 8.3.1) are used.
For raster maps the PHT OLP software will determine for each SPD record the equatorial coordinates of the PHT centre field of view thereby considering the raster position as well as a possible chopper deflection. Subsequently, the RA and Dec offsets in arcseconds with respect to the centre of the map or image coordinates are computed. The map centre has been provided by the observer. Finally, the image coordinates for each pixel are derived taking into account the individual pixel offsets and the spacecraft roll angle.
The instrument reference pointing history (IRPH) contains pointing
  information expressed in quaternions (see `ISO Handbook, Vol. I: ISO - 
  Mission & Satellite Overview',  [20]).
  The quaternion  that defines the position of the PHT
  central field of view for a given raster point in the J2000 inertial
  frame can be computed from:
 that defines the position of the PHT
  central field of view for a given raster point in the J2000 inertial
  frame can be computed from:
 
where quaternions
 defines the J2000 pointing of the ISO star
        tracker,
 defines the J2000 pointing of the ISO star
        tracker, defines the raster point relative to the raster
        centre of the scan,
 defines the raster point relative to the raster
        centre of the scan, describes the misalignment between the
        star tracker and the quadrant star sensor (QSS),
 describes the misalignment between the
        star tracker and the quadrant star sensor (QSS), describes the QSS to instrument aperture alignment;
        there is one value for
 describes the QSS to instrument aperture alignment;
        there is one value for  per PHT subsystem and is
        listed in the focal plane geometry Cal-G file IFPG.FITS
        (see `ISO Handbook, Vol. I: ISO -   Mission & Satellite Overview',
         [20]),
 per PHT subsystem and is
        listed in the focal plane geometry Cal-G file IFPG.FITS
        (see `ISO Handbook, Vol. I: ISO -   Mission & Satellite Overview',
         [20]),  gives a fine pointing correction to the star tracker
        calibration; since this correction depends on the position of the
         guide star in the star tracker field of view, a different correction 
        is given for each raster position.
 gives a fine pointing correction to the star tracker
        calibration; since this correction depends on the position of the
         guide star in the star tracker field of view, a different correction 
        is given for each raster position.
  The following records are read from the IRPH:
 , star tracker to QSS
            misalignment quaternion
, star tracker to QSS
            misalignment quaternion  , QSS to instrument aperture
        misalignment quaternion
, QSS to instrument aperture
        misalignment quaternion
  
A more detailed description on the contents of the IRPH is given
  in  `ISO Handbook, Vol. I: ISO - 
  Mission & Satellite Overview', [20].
  Note: due to different conventions adopted for the misalignment, Q(str/qss)
  as given in the IRPH should be converted to the PHT OLP convention:
 
 
 
  
 
 
For each raster record in the IRPH, the following parameters are extracted:
 , raster point quaternion (RPQ)
, raster point quaternion (RPQ) , star tracker quaternion (STRQ)
, star tracker quaternion (STRQ) , raster point correction quaternion (CORQ)
, raster point correction quaternion (CORQ)
  
With this information the quaternion  in
  Equation 8.1 can be derived.
 in
  Equation 8.1 can be derived.
We define the detector origin to be the centre of the aperture in case of a P detector, the centre of the central pixel 5 in case of C100, and the centre of the array in case of C200.
Assuming a perfect alignment between chopper and spacecraft y-axis, the quaternions representing the rotations of the detector origin with respect to a given raster point are:
 
where  is the chopper deflection and
 is the chopper deflection and  is the
  spacecraft z-offset.
 is the
  spacecraft z-offset.
The quaternion of the detector origin for a given chopper position in a raster can now be computed via:
 
where  is the raster point quaternion as derived in
  Equation 8.1.
 is the raster point quaternion as derived in
  Equation 8.1.
   can be converted to RA (
 can be converted to RA ( ),
  Dec (
),
  Dec ( ), and Roll-angle (
), and Roll-angle ( ) according to standard quaternion
  transformation:
) according to standard quaternion
  transformation:
 
We define the detector centre to be the centre of the aperture in case of PHT-P or the centre of a detector pixel in case of PHT-C. Note that for PHT-P the detector origin and centre are identical.
Based on the position of the  detector origin the detector centre
  is obtained.
  For a given record the sky position in RA and Dec of the detector origin is
  converted into offsets (
 and
 and 
 ) with respect
  to the centre of the raster (
) with respect
  to the centre of the raster ( ,
,  ). The offsets are
  aligned with the RA and Dec axes in the equatorial coordinate system.
). The offsets are
  aligned with the RA and Dec axes in the equatorial coordinate system.
For each pixel the RA and Dec offsets with respect to the detector origin are computed from the detector roll angle and the relative pixel positions. It is assumed that the pixels are positioned in an idealized configuration:
 grid with
        grid with  spacings in spacecraft Y and Z direction and
        with the centre of pixel 5 in the origin at (
 spacings in spacecraft Y and Z direction and
        with the centre of pixel 5 in the origin at ( );
); grid with
        grid with  spacings in Y and Z direction. The origin is at
        the centre of the array;
 spacings in Y and Z direction. The origin is at
        the centre of the array;Adding the offsets of the detector origin this will give the map offsets in arcsec for any raster position, detector pixel, and chopper plateau combination.
 
 
 
 
 
 
 
 
