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

1.4.1 check for proper unit string
Description

check checks if the argument has a properly defined unit string

Arguments





Inputs

v

value

allowed:

string

Default:

Returns
bool

Example

"""  
#  
print "\t----\t check Ex 1 \t----"  
print qa.check(’5AE/Jy.pc5/s’)  
#True  
print qa.check(’7MYs’)  
#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.