quanta.toangle - Function

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

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.