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

1.4.1 convert an angle (or a time) to a time
Description

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

Arguments





Inputs

v

angle/time quantity

allowed:

any

Default:

variant

Returns
record

Example

"""  
#  
print "\t----\t totime Ex 1 \t----"  
print qa.totime(’2d5m’)  
#{’value’: 0.0057870370370370376, ’unit’: ’d’}  
#  
"""

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.