--- ray/src/cv/source.cal 1993/02/24 10:24:58 2.5 +++ ray/src/cv/source.cal 1993/04/05 16:40:10 2.6 @@ -3,9 +3,9 @@ { Source distribution coordinates (degrees). - Theta is measured from the negative z-axis, - phi is measured from the positive x-axis - according to the right-hand rule. + Theta is measured from the negative z-axis. + Phi is measured from the positive x-axis (0 degrees) + towards the negative y-axis (90 degrees). srcB_vert and srcB_horiz are angles used in type B photometry. @@ -33,7 +33,7 @@ boxcorr(v) = A1 * v / boxprojection; { correction for lboxcorr(v) = A1 * v / lboxprojection; { local box correction } src_theta = Acos(Dz) / DEGREE; { 0-180 } -src_phi = mod( atan2(Dy, Dx) / DEGREE, 360 ); { 0-360 } +src_phi = mod( atan2(Dy, -Dx) / DEGREE, 360 ); { 0-360 } { bilateral symmetry } src_phi2 = tri( src_phi, 180 ); { 0-180 } { quadrilateral symmetry }