|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./contrib zdc_to_dc.pro
zdc_to_dc |
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