4 |
|
|
5 |
|
Theta is measured from the negative z-axis. |
6 |
|
Phi is measured from the positive x-axis (0 degrees) |
7 |
< |
towards the negative y-axis (90 degrees). |
7 |
> |
towards the positive y-axis (90 degrees). |
8 |
|
|
9 |
|
srcB_vert and srcB_horiz are angles |
10 |
|
used in type B photometry. |
39 |
|
cylcorr(v) = A1 * v / cylprojection; { cylinder correction } |
40 |
|
|
41 |
|
src_theta = Acos(Dz) / DEGREE; { 0-180 } |
42 |
< |
src_phi = mod( Atan2(Dy, -Dx) / DEGREE, 360 ); { 0-360 } |
42 |
> |
src_phi = mod( Atan2(-Dy, -Dx) / DEGREE, 360 ); { 0-360 } |
43 |
|
{ bilateral symmetry } |
44 |
|
src_phi2 = tri( src_phi, 180 ); { 0-180 } |
45 |
|
{ quadrilateral symmetry } |