Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: measures.tofrequency - Function Up: measures - Tool Previous: measures.showauto - Function


measures.toradialvelocity - Function



Package general
Module measures
Tool measures


convert a doppler type value to a real radial velocity


Synopsis
toradialvelocity(rf, v0)


Arguments

rf in radial velocity reference type
    Allowed: string
v0 in doppler value
    Allowed: doppler measure


Returns
radialvelocity measure


Description
toradialvelocity will convert a Doppler type value (e.g. in radio mode) to a real radialvelocity. The type of velocity (e.g. LSRK) should be specified



Example
- print a := dm.doppler('radio',0.4)
[type=doppler, refer=radio, m0=[unit=m/s, value=1.19917e+08]]
- dm.toradialvelocity('topo',a)
[type=radialvelocity, refer=TOPO, m0=[unit=m/s, value=1.41079e+08]]





next up previous contents index
Next: measures.tofrequency - Function Up: measures - Tool Previous: measures.showauto - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01