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

1.5.1 convert a time (or an angle) to an angle


Description

toangle converts a time quantity (or an angle) to an angle quantity

Arguments





Inputs

v

angle/time quantity

allowed:

any

Default:

variant

Returns
record

Example

 
 
"""  
#  
print "\t----\t toangle Ex 1 \t----"  
print qa.toangle(’5h30m12.6’)  
#{’value’: 82.552499999999995, ’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