1.4.1 create record containing list of known unit names and constants
Description
maprec returns a record with the known mapping of units and constants.
It has a single argument, which can be a coded string (no-case, minimax
match):
Arguments
| Inputs |
| ||
| v |
| type of information to list - coded string
| |
| allowed: | string |
|
| Default: | all |
|
Example
"""
# print "\t----\t maprec Ex 1 \t----" p = qa.maprec(’pre’) # list decimal prefixes print p[’Prefix_G’] # G (giga) 1000000000 s = qa.maprec(’SI’) # list SI units print s[’SI_Jy’] #Jy (jansky) 1e-26 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.