1.3.1 Show a measure as a string
Description
show will convert a measure to a string.
All measures are catered for (at this moment direction, position, epoch, radialvelocity, frequency, doppler, baseline, uvw, earthmagnetic ).
Arguments
| Inputs |
| ||
| v |
| measure value to be converted to string
| |
| allowed: | any |
|
| Default: | record |
|
| refcode |
| add the reference code to output
| |
| allowed: | bool |
|
| Default: | true |
|
Example
"""
# print "\t----\t show Ex 1 \t----" print me.show(me.frequency(’lsrk’, qa.constants(’HI’))) #1.42041e+09 Hz LSRK print me.show(me.frequency(’lsrk’, qa.constants(’HI’)), refcode=false) #1.42041e+09 Hz # """ |
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.