CSIRO logo
Australia Telescope Compact Array
Green End Bar
Spacer image

CACAL - Compact Array Calibration

cacal is the program used to calibrate the delay, phase and gain of the antennas. Only the delay calibration is essential: bad delays cause decorrelation across the passband, resulting in reduced S/N. The calibration of phase and gain is done mainly to aid in the on-line interpretation of the data (VIS display) and diagnostics of faults (ASSISTANCE). The off-line calibration using AIPS or miriad will redetermine the phases and gains.

Using CACAL

The standard approach to calibration of the array is as follows:

Problems with the standard calibration

The standard approach works well for wide band (128MHz) calibration in the absence of interference. If your setup is different you may experience one of the following problems.

Narrow bandwidth problems.

At bandwidths of 32MHz or less you may have trouble calibrating the delays due to insufficient S/N in the narrow channels. VIS will display wildly varying delays in this case. Note that at narrow bandwidth the delay calibration is much less critical, so you may be able to skip it completely. As a rule of thumb: you want the delays to be less than 32/bandwidth[MHz] nanoseconds. Note however that if you don't form a continuum channel but process the channels individually in the reduction you can use the channel bandwidth instead of the observing bandwidth in this equation. So if VIS displays wildly varying delays, but the amplitudes are roughly ok, you can probably skip the delay calibration (use Interactive mode in CACAL). If after all this you still think you need to improve your delay calibration you have the following options:

If you 'randomised' your delays by calibrating on a source that is not strong enough, you can restore the global delay values using the CACAL Reset option (choose Interactive and then Reset, then D for delays). These values are often good enough for spectral line observing.

If the global values are not sufficiently close to zero (e.g., because you have an unusual frequency) the following recipe will let you use delays determined at your frequency but at a wider bandwidth:

Interference problems

If you are experiencing problems due to interference (have a look at the shortest baseline on the SPD amplitude display), the following may help.

Background

cacal uses a 16 cycle in-memory history of the visibilities and can average up to 8 cycles to improve the accuracy. (It actually takes medians.) It checks whether the antennas are on-source to determine if the data is valid. For the gain calibration to function properly the Tsys correction has to be enabled in CAOBS (=default state). If two frequencies are used they are calibrated simultaneously. Calibration of delays and phases is done relative to the reference antenna. The XY phase (when available) is used to calibrate the relative phase of the XX and YY polarization. Amplitude calibration is relative to the specified flux of the calibrator (or the average flux).

All calibration corrections are stored in a 16-slot buffer in memory, new frequency/bandwidth combinations are assigned new slots, replacing the least frequently used slots. The default settings are derived from the slot closest in frequency, and with the same or larger bandwidth. There is a separate buffer for global delays and early-normal calibration, these are determined at reconfiguration.

CACAL can also determine the polarization leakage terms (thanks to Bob Sault for the algorithm), this option is only offered in interactive mode and when on 1934-638.

Automatic mode

In this mode CACAL first does the delay calibration using a 3-cycle average, waits for these to be implemented and then goes on to do a phase and gain calibration. It knows the flux density for 1934-638 and 0823-500 across the ATCA observing bands so it can do an absolute calibration, for other sources the gains are equalized only (i.e. it uses the average flux). The whole process takes about 12 cycles.

Interactive mode

In this mode questions are asked at every stage

  1. Calibrate array or Reset calibration? The reset option allows zeroing of delays and phases, and resetting of the gains to 1.0. This may be needed to recover from calibrating on blank sky or with a faulty correlator.
  2. The reference antenna
  3. The number of integration cycles to average (max=8)
  4. Choice of calibrating D(elay), G(ain), P(hase) or A(ll).
  5. The calibrator flux(es) can be specified. Note that two values are needed in dual frequency mode. The value 1.0 will cause the average flux to be used (i.e. it equalizes the gains).
  6. Optional calibration of polarization leakage terms when on 1934-638. At present these are not applied to the RPFITS data, but they can be applied by VIS for on-line display of calibrated Stokes parameters.
  7. When applying the phase corrections, there is an option to apply a 90 degree offset to the Y phases. This should only be used for PHASED ARRAY observations that need circular polarization.
  8. When applying phase corrections, you can choose to continuously calibrate the phase. This should only be used for PHASED_ARRAY observations.
Confirmation to proceed is asked at every calibration step, a N answer terminates the program.

Expert Mode

This mode is for local staff and experienced Duty Astronomers only. It offers a few more calibration options and some dangerous reset options. Expert mode is entered by typing E at the initial prompt. In calibration mode you can:

In reset mode you can:

 


Original: Mark Wieringa (6-Sep-1996)
Modified: Robin Wark ( 9-Nov-2007)
© Copyright CSIRO Australia, 1994-2010.
Legal Notice and Disclaimer, Privacy Statement.