next up previous contents index
Next: Should I scalar or Up: DETERMINING THE ANTENNA GAINS Previous: What to do with

Computation

            

  1. The procedure is the same whether you have converted the correlations to Stokes parameters (IQUV; not recommended) or left them as linear polarizations (but called them circulars, RR, LL, RL, LR), as the relevant tasks account for this. In the Stokes case, solutions are only found for I (as we don't have polarization models). In the latter case, two sets of solutions are found, one for XX (called RR) and one for YY (called LL). In addition, CALIB will determine the gain solutions for all the IFs contained in your data. There is no IF selection.
  2. If you look carefully at the CALIB inputs, you will see that averaging over channels can be done within CALIB (with the bchan and echan) adverbs. However, I encourage you to use a separate channel 0 data base, rather than use this option. The reason is that the averaging switches are fairly well buried in CALIB's inputs, and they are poorly documented and easy to get confused over. The safe route is via AVSPC.
  3. In this sub-section you should be working with the channel 0 data, regardless of your final spectral goal. The task CALIB determines the antenna gains as a function of time from the calibrator sources, and writes the solutions into the solution (SN) table ready for interpolation to the program source(s). If you examine the inputs to CALIB, you will find that its adverbs are as generously allocated as in ATLOD. CALIB is a very general task, and many of the inputs are irrelevant to our purpose. However, rather than continually scroll through all these unwanted adverbs, I have provided some AIPS procedures which hide many of these adverbs.

    The CALIB procedure is called ATCALIB. See § 2.2 for some useful information on the procedures. Most of the inputs have the same name as in CALIB; a couple are changed because they are normally poked into those aparm, bparm, cparm or dparm arrays. Obviously, ATCALIB has lost some flexibility compared with CALIB, but it should do what you want for this first calibration (if not, use CALIB). For example, it assumes that the model for each calibrator source is a point source at the phase centre; this is the usual premise for initial calibration (see § 3.1). If there is no flux density in the SU table for a particular calibrator, ATCALIB will assume that 1 Jy is the correct flux density; that is, application of the gains to that source would yield a mean visibility amplitude of 1 Jy. The only source for which you should have a correct flux density in the SU table is the primary calibrator, 1934-638 (see § 5). Later on, you will account for the 1 Jy assumption by comparison with the primary calibrator. This is called boot strapping the flux density scale (see § 9).

  4. Because of ATCALIB's importance, I will discuss all of its adverbs.

  5. Now it is time to set ATCALIB in motion with the GO ATCALIB\ command. Remember that you must run ATCALIB once for each source requiring a different combination of freqid, uvrange, and antennas and write a new SN table for each run. As it computes, ATCALIB reports the closure errors to you, and at the end, it will tell you how many good and how many failed solutions it found. A failed solution is when the algorithm is unable to find a global minimum for the function that it is minimizing within its internally allocated number of iterations.

ATCALIB
inname,inclass,inseq,indisk Fill in for averaged data base
calsour=' ' Select sources explicitly or leave blank
calcode='*' and use calcodes ('*', 'p' or 's' say)
freqid=1 One run of CALIB per freqid is necessary
timerang=0 Solve for all time ranges
antennas=0 Solve for all antennas
uvrange=0 Solve with no uv restrictions or
specify range in tex2html_wrap_inline5712
docalib=-1 No calibration to apply
flagver=0 Apply highest version FG table
refant=3 Specify the reference antenna
soltyp=' ' Least squares algorithm. If too many
failed solutions, try 'L1'
solint=0 Averaging time in minutes. 0 means scan aver
doscalar=-1 Vector average
minant=3 Min. no. of antennas to work out a solution
minamper=5 Report amplitude errors bigger than 5%
minpherr=5 Report phase errors bigger than 5 degrees
docrt=1 List results on terminal
docrt=-1 List results on printer


next up previous contents index
Next: Should I scalar or Up: DETERMINING THE ANTENNA GAINS Previous: What to do with

nkilleen@atnf.csiro.au