1.4.1 convert a doppler velocity quantity to another unit
Description
convertfreq converts a velocity quantity to another unit. Units are either
velocity or dimensionless.
Arguments
| Inputs |
| ||
| v |
| quantity to convert
| |
| allowed: | variant |
|
| Default: | 0.0 |
|
| outunit |
| unit to convert to
| |
| allowed: | string |
|
| Default: | km/s |
|
Example
"""
# print "\t----\t convertdop Ex 1 \t----" print qa.convertdop(’1’,’km/s’) #{’value’: 299792.45799999998, ’unit’: ’km/s’} print qa.convertdop(’10km/s’,’1’) #{’value’: 3.3356409519815205e-05, ’unit’: ’1’} # """ |
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.