Produced by IDL 7.1.1
User Documentation

./toolbox
dcmeantsys.pro

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

dcmeantsys

function dcmeantsys(dc_nocal, dc_withcal, [tcal=float], [used_tcal=variable])

Calculate the mean Tsys using the data from two spectral line data containters, one with the CAL on and one with CAL off.

  mean_tsys = tcal * mean(nocal) / (mean(withcal-nocal)) + tcal/2.0
 
where nocal and withcal are the data values from dc_nocal and dc_withcal and tcal is as described below.

This is used by the GUIDE calibration routines and is encapsulated here to ensure consistency.

Version
$Id$

Parameters
dc_nocal
in, required
spectrum data container
The data with no cal signal.
dc_withcal
in, required
spectrum data container
The data with a cal signal.

Keywords
tcal
in, optional
float
A scalar value for the cal temperature (K). If not supplied. dc_nocal.mean_tcal will be used.
used_tcal
out, optional
variable
The tcal value actually used.


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