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

1.5.1 compare quantities


Description

eq compares two quantities for equality.

Arguments





Inputs

v

value

allowed:

any

Default:

variant

a

value

allowed:

any

Default:

variant 0

Returns
bool

Example

 
 
"""  
#  
print "\t----\t eq Ex 1 \t----"  
print qa.eq(’5m’, ’2yd’)  
#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