Produced by IDL 6.1
User Documentation

./toolbox
freqtochan.pro

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

freqtochan

function freqtochan(data, freqs, [frame=string], [true_frame=variable])

Convert frequency (MHz) channel number using the supplied data container. The frequency may be expressed in another reference frame.

Returns
channel number.
Uses
data_valid frame_velocity
Version
$Id: freqtochan.pro,v 1.4 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.
freqs
in, required
The frequencies to convert (MHz), may be an array of values.

Keywords
frame
in, optional
string
The rest frame that the frequencies are in. Known rest frames are listed in frame_velocity. Defaults to the frame given in the data container.
true_frame
out, optional
variable
The actual rest frame used in converting the frequencies. The only way this will not equal the frame argument is if that argument was invalid. In that case, this keyword will be the same as the frame in data.frequency_type.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:56 2005