Produced by IDL 7.0
Developer Documentation

./toolbox
shiftvel.pro

Last modification date:
Sun Oct 22 03:20:02 2017

shiftvel

function shiftvel(vel, voffset, [veldef=string])

Shift a velocity using a velocity offset. Note that because of the nature of the non-true velocity definitions, this is not a simply reversable shift for anything by a TRUE velocity. Namely, v=shiftvel(shiftvel(v,voffset),-voffset) will not result in the same value of v as you started out with for anything except veldef='TRUE'. If you want to undo a velocity shift using the same voffset, use unshiftvel.

Returns
the shifted velocities in m/s.
Version
$Id$

Parameters
vel
in, required
double
The velocities, in m/s, to shift.
voffset
in, required
double
The velocity offset (m/s) to add to the velocities (resulting velocities are then appropriate for a frame moving at voffset relative to the original frame of vel).

Keywords
veldef
in, optional
string (def. 'RADIO')
The velocity definition from one of RADIO, OPTICAL or TRUE.


Produced by IDLdoc 1.6 on Sun Oct 22 03:20:17 2017