|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
quanta.sub - Function
1.5.1 subtract quantities
Description
sub subtracts two quantities
Arguments
Inputs |
| ||
v |
| value | |
| allowed: | variant |
|
| Default: |
|
|
a |
| value
| |
| allowed: | variant |
|
| Default: | variant 0 |
|
record
Example
"""
#
print "\t----\t sub Ex 1 \t----"
print qa.sub(’5m’, ’2yd’)
#{’value’: 3.1712000000000002, ’unit’: ’m’}
#
"""
__________________________________________________________________
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