Produced by IDL 7.1.1
User Documentation

./toolbox
freqtovel.pro

Last modification date:
Wed Sep 28 13:27:11 2016

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 Wed Sep 28 13:27:39 2016