Produced by IDL 6.1
Developer Documentation

./guide
gettp.pro

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

Routine Summary  2 routines

procedure gettp, scan, [ifnum=integer], [intnum=integer], [plnum=integer], [fdnum=integer], [noweight=flag]

This procedure retrieves a total power scan.

procedure dotpint, sig_off, sig_on, ret_tsys

private

This procedure calibrates a single integration from a total power scan.

Routine Details

gettp

procedure gettp, scan, [ifnum=integer], [intnum=integer], [plnum=integer], [fdnum=integer], [noweight=flag]

This procedure retrieves a total power scan. This code should be used as a template for the user who may wish to develop more sophisticated calibration schemes. The required parameter is the scan number. Arguments to identify the IF number, polarization number and feed number are optional. The program calculates Tsys based on the Tcal values, and cal_on/cal_off phases.

All averaging is done using dcaccum and accumave. This means that integrations are weighted using the default weight given in dcaccum. To turn off this weighting so that all integrations have equal weight in the average, use the /noweight flag.

Version
$Id: gettp.pro,v 1.7 2005/05/30 04:03:43 bgarwood Exp $

Parameters
scan
in, required
integer
M&C scan number

Keywords
ifnum
in, optional
integer
IF number (starting with 0)
intnum
in, optional
integer
integration number (starting with 0)
plnum
in, optional
integer
polarization number (0 or 1)
fdnum
in, optional
integer
feed number (default 0)
noweight
in, optional
flag
if set, the default weighting is turned off and all integrations are averaged with the same weight (1.0).

dotpint private

procedure dotpint, sig_off, sig_on, ret_tsys

This procedure calibrates a single integration from a total power scan. This is currently an internal function used only by getps.

Version
$Id: gettp.pro,v 1.7 2005/05/30 04:03:43 bgarwood Exp $

Parameters
sig_off
in, required
spectrum
An uncalibrated spectrum from with the cal off.
sig_on
in, required
spectrum
An uncalibrated spectrum from with the cal on.
ret_tsys
.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:15 2005