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


measures.doppler - Function



Package general
Module measures
Tool measures


define a doppler measure


Synopsis
doppler(rf, v0, off)


Arguments

rf in reference code
    Allowed: coded string
v0 in doppler ratio/velocity
    Allowed: quantity
    Default: 0
off in optional offset
    Allowed: doppler measure
    Default: F


Returns
doppler measure


Description
doppler defines a doppler measure from the CLI. It has to specify a reference code, doppler 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 doppler. Allowable reference codes are: RADIO OPTICAL Z RATIO RELATIVISTIC BETA GAMMA.
Note that additional ones may become available. Check in Glish with:
   
- dm.listcodes(dm.doppler())   
[normal=RADIO Z RATIO BETA GAMMA OPTICAL TRUE RELATIVISTIC, extra=]
The doppler quantity values should be either non-dimensioned to specify a ratio of the light velocity, or in velocity. (examples all give same doppler):



Example
- dm.doppler('radio', 0.4)
[type=doppler, refer=radio, m0=[value=1.19917e+08, unit=m/s]] 
- dm.doppler('radio',dm.mul(dm.quantity(0.4),dm.constants('c')))
[type=doppler, refer=radio, m0=[unit=m/s, value=1.19917e+08]]





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