nraonrao
 
NRAO Home > CASA > CasaRef
quanta.atan2 - Function

1.4.1 arctangent of two quantity
Description

atan gives arctangent of two non-dimensioned quantity

Arguments





Inputs

v

non-dimensioned quantity

allowed:

any

Default:

variant

a

non-dimensioned quantity

allowed:

any

Default:

variant

Returns
record

Example

"""  
#  
print "\t----\t atan2 Ex 1 \t----"  
print qa.convert(qa.atan2(qa.sin(’7deg’), qa.cos(’7deg’)), ’deg’)  
#{’value’: 7.0, ’unit’: ’deg’}  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.