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