Produced by IDL 7.1.1
User Documentation

./contrib
zdc_to_dc.pro

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

zdc_to_dc

procedure zdc_to_dc, zdc, dc, [/data], [status=variable]

Convert a zpectrometer data container to a standard GBTIDL data container.

The output data container, dc, is reused if possible (it has the appropriate type and size). If it can not be used, free_data is first used to clean up the pointers that it contains and then a new data container is constructed using data_new.

By default, the LAGS array is used and the returned data container is a continuum data container. If the DATA array is requested (using the DATA flag) then a spectrum data container is returned. It is the responsibility of the caller to free the returned data container as necessary using data_free.

scan_number will hold the mc_scan value and procseqn will hold the zpectrometer scan value.

cal_state will hold the diode value

if_number will hold the beindex value

Version
$Id$

Parameters
zdc
in, required
zpectrometer data container
a zpectrometer data container
dc
out, required
variable
The new data container holding the lags or data values and header values as appropriate.

Keywords
data
in, optional
boolean
When set, fill the data array in the output data container using the data array in the zpectrometer data container. The default behavior is to use the lags array.
status
out, optional
variable
This is true (1) when the conversion has been successfull.


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