Produced by IDL 6.1
User Documentation

./toolbox
fscal.pro

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

fscal

function fscal(sig, ref, sigwcal, refwcal)

Combine (calibrate) a frequency switched integration. The resulting data container is returned.

Returns
A spectrum data container containing the result.
Examples
 get, mc_scan=22, cal='F', sig='T', pol='XX', if_num=1, int=1 ; sig
 copy,0,10 
 get, mc_scan=22, cal='T', sig='T', pol='XX', if_num=1, int=1 ;sigwcal
 copy,0,11
 get, mc_scan=22, cal='F', sig='F', pol='XX', if_num=1, int=1 ; ref
 copy,0,12
 get, mc_scan=22, cal='T', sig='F', pol='XX', if_num=1, int=1 ; refwcal
 copy,0,13
 result = fscal(!g.s[10],!g.s[11], !g.s[12], !g.s[13])
 set_data_container, result, 0 ; copy result back to buffer 0 and show the result
 data_free, result  ; clean up pointers if result is no longer necessary
 
Uses
data_valid data_copy
Version
$Id: fscal.pro,v 1.2 2005/02/28 18:28:39 jbraatz Exp $

Parameters
sig
in, required
spectrum
The signal spectrum with no cal.
ref
in, required
spectrum
The reference spectrum with no cal.
sigwcal
in, required
spectrum
The signal with cal on spectrum.
refwcal
in, required
spectrum
The reference with cal on spectrum.


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