2023 jul 12 - PyPRM 1.1.0 : Updated wobble angles operator in the original it was rotZ(omegaVA)rotY(zVAX) in the new is rotZ(omegaVA)rotY(zVAX)rotZ(-omegaVA)
2023 jul 14 - V1.1.1 : Update structure to allow creation of a PyPI package
2023 jul 18 - V1.1.2 : Updated version to allow comments
# 2023 jul 12 - PyPRM 1.1.0 : Updated wobble angles operator in the original it was rotZ(omegaVA)rotY(zVAX) in the new is rotZ(omegaVA)rotY(zVAX)rotZ(-omegaVA)
# 2023 jul 14 - V1.1.1 : Update structure to allow creation of a PyPI package
# 2023 jul 18 - V1.1.2 : Updated version to allow comments
#to recover pointings makes dot product with (0,0,1) vector
Pointing=np.array([k.dot(np.array([0,0,1])) for k in RotMatr]).T
=========================
Elemental Rotation Matrices according to Aereonautical convention
Those matrices projects Coordinate Axis of the Moving Reference Frame (example: camera) into the fixed reference frame (example: geographic topocentric coordinates).
alpha > 0 for an anticlockwise rotation
anticlockwise means:
Z rotation:
Y^
|
Z (.)->X
Z exits from (X,Y) plane, X rotated toward Y
equivalent to Z(X->Y)
Y rotation: Y exits from (Z,X) plane, Z rotated toward X
X^
|
Y (.)->Z
equivalent to Y(Z->X)
X rotation: X exits from (Y,Z) plane, Y rotated toward Z
Z^
|
X (.)->Y
equivalent to X(Y->Z)
RotX(alpha) :
1 0 0
0 c -s
0 s c
RotY(alpha) :
c 0 s
0 1 0
-s 0 c
RotZ(alpha) :
c s 0
-s c 0
0 0 1
with c=cos(alpha), s=sin(alpha)
Issue
0.0.0 - 2021 Oct 23 : First implementation
0.0.1 - 2021 Nov 20 : Definition of matrices in agreement with STRIP PRM Doc
0.0.2 - 2021 Nov 22 : Improved definition of matrices
0.0.3 - 2021 Dec 2 : Structure improved, added example
1.0.0 - 2021 Dec 3 : First Issue after review with the Pointing Working Group
1.1.0 - 2023 Jul 12 : Changed the definition of wobble angles operator
#to recover pointings makes dot product with (0,0,1) vector
Pointing=np.array([k.dot(np.array([0,0,1])) for k in RotMatr]).T
=========================
Elemental Rotation Matrices according to Aereonautical convention
Those matrices projects Coordinate Axis of the Moving Reference Frame (example: camera) into the fixed reference frame (example: geographic topocentric coordinates).
alpha > 0 for an anticlockwise rotation
anticlockwise means:
Z rotation:
Y^
|
Z (.)->X
Z exits from (X,Y) plane, X rotated toward Y
equivalent to Z(X->Y)
Y rotation: Y exits from (Z,X) plane, Z rotated toward X
X^
|
Y (.)->Z
equivalent to Y(Z->X)
X rotation: X exits from (Y,Z) plane, Y rotated toward Z
Z^
|
X (.)->Y
equivalent to X(Y->Z)
RotX(alpha) :
1 0 0
0 c -s
0 s c
RotY(alpha) :
c 0 s
0 1 0
-s 0 c
RotZ(alpha) :
c s 0
-s c 0
0 0 1
with c=cos(alpha), s=sin(alpha)
Issue
0.0.0 - 2021 Oct 23 : First implementation
0.0.1 - 2021 Nov 20 : Definition of matrices in agreement with STRIP PRM Doc
0.0.2 - 2021 Nov 22 : Improved definition of matrices
0.0.3 - 2021 Dec 2 : Structure improved, added example
1.0.0 - 2021 Dec 3 : First Issue after review with the Pointing Working Group
1.1.0 - 2023 Jul 12 : Changed the definition of wobble angles operator