|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide getfs.pro
getfs |
procedure getfs, scan, [ifnum=integer], [intnum=integer], [plnum=integer], [fdnum=integer], [tau=float], [ap_eff=float], [units=string], [nofold=flag], [noweight=flag] |
This procedure retrieves and calibrates a frequency switched scan. Frequency switched data obtained with other procedure names will be rejected by this procedure. This code should be used as a template for the user who may wish to develop more sophisticated calibration schemes or reduce frequency switched data from other types of procedures. This routine produces a spectrum calibrated in Ta (K) (other recognized units are 'Ta*' and 'Jy').
The only required parameter is the scan number. Arguments to identify the IF number, polarization number, and feed number are optional. A zenith opacity can be entered. 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.
There must be 4 switching states and the SWITCH_STATE value must be 'FSWITCH'.
getfs,76 accum getfs,77 accum ave show
a nofold example, show each half and then fold
getfs,76,/nofold oshow,1 fold
Parameters | |
scan |
scan number |