Subs::Attitude (version 0.0)

Extract attitude data. Swift attitude data appears in several places in the telemetry. This subroutine collects all the attitude data into a single quaternion- based attitude file and removed redundant information.

The main source of attitude data is the "ACS packets" (APID 404). The BAT also places ACS records in the headers of each LDP and in the body of a special LDP generated suring slews. The XRT places ACS records in the header for each CCD frame, however these are represented by "floats" instead of "doubles", so they are not used if higher accuracy data are available.

Parent Classes: Subs::NominalPointing, Subs::SwiftSub