quanta.isangle - Function

1.4.1 check if valid angle or time quantity
Description

isangle checks if the argument is a valid angle/time quantity.

Arguments





Inputs

v

angle/time quantity

allowed:

any

Default:

variant

Returns
bool

Example

"""  
#  
print "\t----\t isangle Ex 1 \t----"  
print qa.isangle(qa.constants(’pi’))  
#False  
#  
"""

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.