|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
quanta.checkfreq - Function
1.5.1 check for proper frequency unit
Description
checkfreq checks if the argument has a properly defined frequency
interpretable unit string
Arguments
Inputs |
| ||
cm |
| value
| |
| allowed: | any |
|
| Default: | variant |
|
bool
Example
"""
#
print "\t----\t checkfreq Ex 1 \t----"
print qa.checkfreq(’5GHz’)
#True
print qa.checkfreq(’5cm’)
#True
print qa.checkfreq(’5cm/s2’)
#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