Produced by IDL 6.1
User Documentation

./toolbox
veltochan.pro

Last modification date:
Thu Jun 2 23:56:08 2005

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: veltochan.pro,v 1.6 2005/03/24 22:41:06 bgarwood Exp $

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 Thu Jun 2 23:56:58 2005