|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./contrib avkanods.pro
avkanods |
procedure avkanods, scans, ifnum, [tau=float], [ap_eff=float], [trk_beam=integer], [tcal=float], [scal=float], [q=integer], [calfile=string], [sref=integer], [noav=integer] |
avkanods calibrates and averages a series of "nod" pairs for the KA-band receiver.
type avkanods with no parameters to get the help message.
This works only for beamswitched nod pairs with the KA-band receiver, and only one polarization channel per beam.
The first parameters "scans" is an array with a series of scan numbers;
each scan number is the first of a nod pair.
For example: avkanods,[16,18,20,22],0
It assumes you have just used a single cal 'R' or 'L' The trk_beam parameter is the on-source beam number for the first scan. Note: there is no "pol" parameter because of the cross-pol switching. in effect, the two polarizations are averaged.
scal : this is the flux density of a continuum calibrator. If the scal parameter is present, the output spectrum is the noise cal spectrum in flux density units.
calfile : if you give a calfile name and scal is set, then the "scal" spectrum is written to the named file.
After writing a spectrum for the calibrator using scal and calfile, then if you run on a program source with calfile set to the same file that the calibrator spectrum was saved to (but with no scal given), then the calfile is used to scale the spectrum of the program object to flux density units.
If you do not set the /noav flag, it averages data from the two samplers and puts the result in container zero. but if /noav is set, then the results from the two samplers are kept separate and are put into containers 0 and 1.
If the /sref flag is set, then the calibration is (Sig-Ref)/Ref, otherwise its (Sig-Ref)/Cal.
Contributed By: Frank Ghigo, NRAO-GB
Parameters | |
scans |
scan number |
ifnum |
IF number: 0,1,2,etc, (def:0) |