Read Pointing Information from Attitude Files
If you like you can:
Description:
- Create temporary versions of the attitude files with
the first and last 100 rows removed. Files with fewer than 300
rows are left as-is.
This is to remove the effects of the spacecraft's slew to and away from
the object.
- Calculate the mean RA and Dec for each trimmed attitude file.
- If there is more than one attitude file, make sure that the mean pointings
for all the trimmed files concur to within 1 arc minute. If they do not,
abort the script.
- Calculate the mean pointing for each untrimmed attitude file.
These values are not used in the processing, but are recorded in
the job log for future reference.
- Merge the trimmed attitude files into one big file.
- Calculate the mean pointing (RA, Dec, and roll angle) from the
merged, trimmed attitude file.
This pointing information is used in the rest of
the processing. If there was any problem, then extract the RA and Dec
from the attitude file FITS header. If even this can't be done, then
set the troublesome value(s) to zero.
- Calculate the galactic coordinates and Euler angles for the mean
pointing.
Associated Routines:
Input Files:
Output Files: