1.4.1 get canonical value of quantity
Description
canon gets the canonical value of a quantity
Arguments
| Inputs |
| ||
| v |
| value to convert
| |
| allowed: | variant |
|
| Default: |
|
|
Example
"""
# print "\t----\t canon Ex 1 \t----" print qa.canon(’1Jy’) # canonical value of a string #{’value’: 1e-26, ’unit’: ’kg.s-2’} print qa.canonical(qa.quantity(’1Jy’)) # canonical value of a unit #{’value’: 1e-26, ’unit’: ’kg.s-2’} # """ |
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.