Changeset 5908 for trunk/doc/pslib/eoc_testing.txt
- Timestamp:
- Jan 5, 2006, 2:16:50 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/eoc_testing.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/eoc_testing.txt
r5775 r5908 100 100 Check that: 101 101 102 X = 3.05224300720406e- 07103 Y = -1.39441339235822e- 07102 X = 3.05224300720406e-10 103 Y = -1.39441339235822e-10 104 104 S = 0 105 105 … … 134 134 (a) Generate the transformation: 135 135 136 psSphereRot *earthRotInv = psSphereRot_TEOtoCEO(time); // This is TEO->CEO 137 psSphereRot *earthRot = psSphereRotInvert(earthRotInv); // This is CEO->TEO 138 139 Check that the rotation quaternion of earthRotInv is: 136 psSphereRot *earthRot = psSphereRot_TEOtoCEO(time); // This is TEO->CEO 137 138 Check that the rotation quaternion of earthRot is: 140 139 141 140 0.0 142 141 0.0 143 142 0.9625401009002903 144 0.2711393629830588143 -0.2711393629830588 145 144 146 145 Within psSphereRot_TEOtoCEO, the Earth rotation angle should be 428251.4641536639 degrees … … 148 147 (b) Apply the rotation to the position: 149 148 150 obj = psSphereRotApply(obj, earthRot, obj); 149 psSphereRot *earthRotInv = psSphereRotInvert(earthRot); // This is CEO->TEO 150 obj = psSphereRotApply(obj, earthRotInv, obj); 151 151 152 152 Convert obj to a psCube and check that: … … 172 172 x=-6.43607313124045e-07 173 173 y=2.11351436973568e-06 174 s=- 2.05449328145735e-15174 s=-7.39617581324646e-12 175 175 176 176 (c) Generate the transformation: 177 177 178 psSphereRot *polarMotionInv = psSphereRot_ITRStoTEO(earthPM); // This is ITRS->TEO 179 psSphereRot *polarMotion = psSphereRotInvert(polarMotionInv); // This is TEO->ITRS 180 181 Check that the rotation quaternion of polarMotionInv is: 178 psSphereRot *polarMotion = psSphereRot_ITRStoTEO(earthPM); // This is ITRS->TEO 179 180 Check that the rotation quaternion of polarMotion is: 182 181 183 182 -1.0567571848664005E-6 … … 188 187 (d) Apply these to the position: 189 188 190 obj = psSphereRotApply(obj, polarMotion, obj); 189 psSphereRot *polarMotionInv = psSphereRotInvert(polarMotion); // This is TEO->ITRS 190 obj = psSphereRotApply(obj, polarMotionInv, obj); 191 191 192 192 Convert obj to a psCube, should get:
Note:
See TracChangeset
for help on using the changeset viewer.
