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

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

__________________________________________________________________


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