| fquat | stlocal.testfgs | fquat |
fquat -- Insert the rotation quaternion into a data table.
fquat intable
This task must be run on any positional astrometry table that has been modified by the centroid task before the table can be used by another task.
Fquat inserts the quaternion into the table. Standard checks are performed, and the telescope pointing coordinates RAV1, DECV1, and ROLLV3 are read in. The inserted quaternion takes the form:
Q = Qz(alpha) Qy(-delta) Qx(roll) Qa(1|2|3) dQ(Zaxis) where Qz(alpha) = quaternion formed from V1 right ascension Qy(-delta) = quaternion formed from V1 declination Qx(roll) = quaternion formed from V3 roll angle Qa(1|2|3) = alignment quaternion for FGS 1, 2, or 3 dQ(Zaxis) = differential aberration quaternionNon-existent columns are defined as double-precision fields with a format specification of %20.15e.
The following columns are used by fquat:
INPUT OUTPUT ----- ------ RAV1, DECV1, ROLLV3 Q1, Q2, Q3, Q4 FRAME FRAME FGS
1. Process all tables having the default extension ".tab".
fg> fquat *.tab2. Insert the quaternion in a new output table.
fg> fquat intable new_table+ outtable="out"