Produced by IDL 7.1.1
User Documentation

./toolbox
veltochan.pro

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

veltochan

function veltochan(data, vels, [frame=string], [veldef=string])

Convert velocity (m/s) to channel number using the supplied data container. The velocity's frame and definition can also be supplied.

Returns
channel number.
Uses
data_valid decode_veldef chantofreq freqtovel veltofreq freqtochan
Version
$Id$

Parameters
data
in, required
spectrum
The spectrum data container to use to get the necessary header information.
vels
in, required
The velocities (m/s) to convert, may be an array of values.

Keywords
frame
in, optional
string
The rest frame that the velocities are in. Known rest frames are listed in frame_velocity. Defaults to the frame given in data.velocity_definition.
veldef
in, optional
string
The velocity definition in use from RADIO, OPTICAL, or TRUE. Defaults to the value found in data.velocity_definition.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016