Produced by IDL 6.1
Developer Documentation

./toolbox
chantofreq.pro

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

chantofreq

function chantofreq(data, chans, [frame=string], [true_frame=variable])

Convert channel number to frequency (Hz) using the supplied data container. Optionally return the frequency in another reference frame

Returns
frequencies (Hz)
Uses
data_valid frame_velocity
Version
$Id: chantofreq.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.
chans
in, required
The channel numbers to convert, may be an array of values.

Keywords
frame
in, optional
string
The rest frame to convert to. Known rest frames are listed in frame_velocity.html. Defaults to the frame given in the data.frequency_type.
true_frame
out, optional
variable
The actual rest frame used in constructing 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:20 2005