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.uvw - Function Up: measures - Tool Previous: measures.radialvelocitygui - Function


measures.radialvelocity - Function



Package general
Module measures
Tool measures


define a radialvelocity measure


Synopsis
radialvelocity(rf, v0, off)


Arguments

rf in reference code
    Allowed: coded string
v0 in radial velocity
    Allowed: quantity
    Default: 0m/s
off in optional offset
    Allowed: radialvelocity measure
    Default: F


Returns
radialvelocity measure


Description
radialvelocity defines a radialvelocity measure from the CLI. It has to specify a reference code, radialvelocity quantity value (see introduction for the action on a scalar quantity with either a vector or scalar value, and when a vector of quantities is given), and optionally it can specify an offset, which in itself has to be a radialvelocity. Allowable reference codes are: LSRK LSRD BARY GEO TOPO GALACTO.
Note that additional ones may become available. Check in Glish with:
                                                    
- dm.listcodes(dm.radialvelocity())
[normal=LSRK LSRD BARY GEO TOPO GALACTO, extra=]
The radialvelocity quantity values should be given as velocity.



Example
- dm.radialvelocity('lsrk','20km/s')
[type=radialvelocity, refer=lsrk, m0=[value=20000, unit=m/s]]





next up previous contents index
Next: measures.uvw - Function Up: measures - Tool Previous: measures.radialvelocitygui - 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