Produced by IDL 7.0
Developer Documentation

./toolbox
freqtovel.pro

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

freqtovel

function freqtovel(freq, restfreq, [veldef=string])

Convert frequency to velocity (m/s) using the given rest frequency and velocity definition. The units (Hz, MHz, GHz, etc) of the frequencies to convert must match that of the rest frequency argument.

Returns
velocity in m/s
Version
$Id$

Parameters
freq
in, required
Frequency. Units must be the same as the units of restfreq.
restfreq
in, required
Rest frequency. Units must be the same as those of freq.

Keywords
veldef
in, optional
string
The velocity definition which must be one of OPTICAL, RADIO, or TRUE. Defaults to RADIO.


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