aspecting (version 1.5)

You can also look at:
This routine calculates the aspect point from the attitude file(s). The aspect point is a nominal spacecraft pointing to which sky coordinate images will be registered. The ANG_DIST column in the filter files gives the deviation of the spacecraft pointing from the aspect point.

First, all the attitude files are merged. Then the merged attitude file is read with the attitude FTOOL. Finally, the output of attitude is interpreted by the aspect STOOL. aspect bins the attitude points into 0.01 degree bins. It then finds the most populous group of four adjacent bins and calculates the mean pointing among those points. The aspect point is stored in the job.par for later use in both celestial and galactic coordinates.

Next, it runs the fixatt STOOL on all the attitude files. This tool deletes records which are out of time order (giving an error when it does so) and interpolates linearly between widely spaced attitude records. The interpolation is needed since the ascaexpo FTOOL does not interpolate between records.

FTOOLS called:

  1. attitude
  2. fmerge
STOOLS called:
  1. aspect
  2. checkatt
  3. ecl2gal
  4. euler2radec
  5. fixatt
Utilities called:
  1. add_parameter
  2. check_order
  3. exception
  4. file_to_log
  5. ftool_test
  6. log_entry
  7. milestone
  8. read_parfile
  9. setup_parfile
  10. stool_test