Produced by IDL 7.1.1
User Documentation

./toolbox
chantofreq.pro

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

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 from that given in the data.

Returns
frequencies (Hz)
Uses
data_valid frame_velocity
Version
$Id$

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