NRAO Home > CASA > CASA Toolkit Reference Manual
quanta.atan2 - Function

1.5.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’}  
#  
"""  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 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