[daip] Re: COMB explain file

Eric Greisen egreisen at cv3.cv.nrao.edu
Thu Oct 25 13:27:12 EDT 2001


Robert Zavala writes:
 > Eric,
 > 
 > I am using the 31DEC01 AIPS, and was looking over the explain file for
 > COMB. For OPCODE 'POLA' it says
 > 
 > 'POLA': Pol. Angle   A(1)*ATAN2(MAP(2),MAP(1)) + A(2)
 >                            where A(3) < SQRT (MAP(1)**2 + MAP(2)**2)
 >                            MAP(1)=QPOL, MAP(2)=UPOL usually.
 > 
 > And for APARM(1)
 > 
 >           APARM(1) = 0 => APARM(1) = 1.0 (except 'POLA','CLIP')
 >           APARM(1) = 0 => APARM(1) = 28.648 (for 'POLA')
 > 
 > The setting of APARM(1) = 28.648 would be correct if ATAN2 returned an
 > answer in radians. But ATAN2 returns degrees.

           No actually ATAN2 returns radians.

 > So shouldn't the explain file read
 > 
 > APARM(1) = 0 => APARM(1) = 0.5 (for 'POLA')
 > 
 > Thank you,
 > 
 > Bob Zavala
 > 
 > 
 > 
 > 



More information about the Daip mailing list