|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./contrib getkanod.pro
A collection of procedures for reducing Ka NOD data. The primary procedure here is 'getkanod'.
Contributed By: Frank Ghigo, NRAO-GB
Routine Summary 5 routines |
procedure ph_accum, x, cal, sig, q, tinteg, s_acc, ncnt | |
ph_accum accumulates all integrations for a particular phase; |
procedure getphases, scan, ifnum, bmb, q, tinteg, s_off, s_on, r_off, r_on | |
Get the average of all 4 phases of data from !g. |
procedure getkaphases, scan, ifnum, bmb, q, ref, asig, acal, aref, tinteg | |
Collect data for two successive scans for one beam. |
procedure ka_dual_scp_1cal, info, scan, ifnum, bm1, bm2, tcal, q, sref, noav | |
standard case for KA-band beam-switched dual beam spectra. |
procedure getkanod, scan, ifnum, [tau=float], [ap_eff=float], [trk_beam=integer], [tcal=float], [scal=float], [q=integer], [calfile=string], [sref=integer], [noav=integer] | |
getkanod retrieves and calibrates a "nod" pair for the KA-band receiver. |
Routine Details |
ph_accum |
ph_accum accumulates all integrations for a particular phase;
getphases |
procedure getphases, scan, ifnum, bmb, q, tinteg, s_off, s_on, r_off, r_on |
Get the average of all 4 phases of data from !g.lineio at once for given ifnum and beam.
getkaphases |
procedure getkaphases, scan, ifnum, bmb, q, ref, asig, acal, aref, tinteg |
Collect data for two successive scans for one beam. If ref eq 0 then assume this is the tracking beam. If ref eq 1 then this is the reference beam.
ka_dual_scp_1cal |
procedure ka_dual_scp_1cal, info, scan, ifnum, bm1, bm2, tcal, q, sref, noav |
standard case for KA-band beam-switched dual beam spectra.
this should work for not beam-switching as well!!
getkanod |
procedure getkanod, scan, ifnum, [tau=float], [ap_eff=float], [trk_beam=integer], [tcal=float], [scal=float], [q=integer], [calfile=string], [sref=integer], [noav=integer] |
getkanod retrieves and calibrates a "nod" pair for the KA-band receiver.
type getkanod 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.
You must give it the scan number of the first of the two scans. 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.
Parameters | |
scan |
scan number |
ifnum |
IF number: 0,1,2,etc, (def:0) |