9.1 VLBI data calibration recipe
See Appendix C for simpler and shorter recipes suitable for straightforward observations using only the VLBA and
its correlator.
- LOAD THE DATA For data from the VLBA correlator, run FITLD (§9.2.1.1); if needed, follow
up with MSORT, USUBA, INDXR, VBGLU, VBMRG, and MERGECAL (§9.2.1.4–§9.2.1.7). For data from a
MkIII correlator, run MK3TX, MK3IN, MSORT, DBCON, UVAVG, TAMRG, SBCOR, and INDXR as needed
(§9.2.2.1–§9.2.2.6). Data from the Penticton correlator should be loaded using FITLD, sorted (MSORT,
§9.2.1.4), and indexed (INDXR, §9.2.1.6).
- POLARIZATION: The combination of the VLBA correlator and FITLD incorrectly labels polarizations
for dual parallel-hand correlation (RR and LL only), even if RR and LL are in different frequency
bands (e.g., LL at 5 GHz and RR at 8.4 GHz). For these types of data, you must run FXPOL (§9.2.1.8).
- EXAMINE THE DATA It is important to familiarize yourself with the data set before proceeding
further, especially if you have little experience with VLBI data. There are many



tasks for the
examination of your data (see §9.3 for a fuller discussion). Minimally, you should at first run LISTR,
IMHEAD, EDITR, POSSM, VPLOT, and PRTAN. At later stages you will probably find SNPLT, PRTAB, DTSUM,
and SHOUV useful for examining data and calibration tables.
- SVLBI: Task OBPLT allows you to examine different aspects of the spacecraft orbit.
- PROCESS THE CALIBRATION FILES You will have either received calibration files, or
instructions on where to obtain them. Some calibration files can be automatically processed into a form
suitable for use within



using VLOG (§9.4.2). ANTAB is now the primary 


task for loading
calibration information from log files.
- VLBA CORRELATOR: Beginning on 1 April 1999, the VLBA correlator will have attached
calibration information directly to your data for all VLBA and some other antennas. This obviates the
need to run VLOG, ANTAB, PCLOD, and UVFLG to process your a priori calibration information for VLBA
antennas. Some information for non-VLBA antennas must still be processed as usual.
- POLARIZATION: Be careful to make sure that the polarization labeling of the IFs in the calibration
text files is the same as the labeling in the data.
- CORRECT FOR THE IONOSPHERE For low frequency experiments TECOR should be run to
remove at least part of the ionospheric contribution to the phase offsets. This should also be considered
for higher frequencies (e.g., 8 GHz) depending on the amount of phase wrapping caused by the
ionosphere.
- CORRECT FOR THE EARTH ORIENTATION PARAMETERS For phase referencing
experiments correlated at the VLBA correlator, particularly between 5-May-2003 and 2-August-2005,
CLCOR (OPCODE=’EOPS’) should be run. This will correct the possibly inaccurate Earth Orientation
Parameters used by the VLBA correlator. This is particularly important for astrometry experiments
but can effect any phase referencing experiment including those correlated outside the above range of
dates.
- EDIT THE DATA Identifying and editing bad data now can save you time later. Data should first
be edited using UVFLG to apply editing information supplied with your calibration files (§9.4.3). Some
useful tasks for examining and editing data are EDITR, UVFLG, TVFLG, SPFLG, EDITA, FLAGR, FINDR,
VPLOT, and QUACK.
- POLARIZATION: You may want to edit the data consistently in all polarizations (select STOKES =
’IQUV’ within EDITR, TVFLG or SPFLG) — this can greatly simplify the imaging stage (see step 15).
- APPLY A PRIORI CALIBRATION Corrections for sampler biases should be applied using ACCOR
(§9.4.4.1) for data from the VLBA correlator only. It is recommended that this step be taken for
both 1-bit and 2-bit data. Use APCAL to complete the a priori amplitude calibration (§9.4.4.2) —
this is called the Tsys method of amplitude calibration. APCAL can also be used to perform opacity
corrections.
- POLARIZATION: For alt-az mounted antennas, a parallactic angle correction for the rotating
orientation of the antenna feeds with respect to the observed source must be performed as the first
step in the phase calibration using CLCOR (§9.4.4.3). This step should be performed no later than
immediately after the Tsys calibration.
- PHASE REFERENCING: You will want to perform the parallactic angle correction described above
for phase referencing observations even if you only correlated the parallel hands (RR, LL).
- SPECTRAL-LINE: Unless the line emission is very weak, you may wish to defer amplitude calibration
of your line sources only until step 12 below. The template method described there is much more
accurate than the Tsys method.
- CALIBRATE THE SCALAR BANDPASS RESPONSE FUNCTION Run BPASS or CPASS to
determine the bandpass response function using the total-power spectra (§9.4.5). Note that cross-power
spectra may not be used until the phase slopes due to delay are corrected. This step is not necessary
for most continuum observations unless very high dynamic range is sought and even then may not
significantly improve the calibration. You should probably skip this step initially and return to it later
if you suspect that your images are limited by bandpass effects.
- SPECTRAL-LINE: The bandpass response function should be determined using only the continuum
calibrator sources. This step may be skipped in general so long as a good cross-correlation bandpass
function is determined later.
- CALIBRATE THE INSTRUMENTAL DELAYS Phase-cals, or measured single band and
multi-band instrumental phase errors, should be applied using PCCOR (§9.4.8.5). You can manually
perform a phase-cal by running FRING on a limited subset of your data to account for missing phase-cal
information or to refine the reported phase-cal measurements (§9.4.8.6).
- VLBA CORRELATOR: Phase-cal information is now provided by the VLBA correlator (for VLBA
antennas) and loaded by FITLD into a PC table; PCLOD (§9.4.8.5) may be needed for data from other
telescopes.
- SPECTRAL-LINE: Delay calibration should be carried out only on the continuum sources at this
stage.
- POLARIZATION: When running FRING, be certain to solve for independent left- and
right-polarization delay solutions APARM(3) = 0. Run VLBACPOL after calibrating the instrumental
delays, to determine a single delay offset between left and right polarization (§9.4.8.13).
- PHASE REFERENCING: Note that in general, you do not want to manually perform a phase-cal
upon your target, or phase-referenced, source. However, see §9.4.8.4 for further discussion on this topic.
- FRINGE FIT THE DATA Estimate and remove residual delays, rates and phases using FRING or
BLING and CLCAL (§9.4.8.9–§9.4.8.10).
- SPECTRAL-LINE: Only fringe-fit the calibrator source at this stage. Check the coherence of the
target source using the resulting solutions to decide whether or not to zero the rate solutions using the
’ZRAT’ option in SNCOR (§9.4.8.12).
- PHASE REFERENCING: You should not fringe-fit on the target, or phase-referenced source. Rather,
you should fringe-fit on the cal, or phase-reference calibrator. When you apply the solution, be sure to
set the CALSOUR and SOURCES adverbs in CLCAL appropriately to interpolate the solutions for the cal
source onto the target source (see §9.4.1.2). If you are not interested in astrometric calibration and
your target source is strong enough, you may wish to consider fringe-fitting on it to further refine the
phase calibration (§9.4.8.4).
- ESTIMATE THE INSTRUMENTAL POLARIZATION (polarization data only). Correct for the
instrumental polarization terms, commonly known as ‘D-terms’ using PCAL, LPCAL, or SPCAL on the
polarization calibrator (§9.4.8.15). This polarization calibrator should first be fully calibrated and
imaged before this step can be performed.
- CALIBRATE THE POLARIZATION POSITION ANGLE (polarization data only). If a calibration
source with known polarization orientation is available, use CLCOR to make a final correction to adjust
the polarization angles of the target source data (§9.4.8.13).
- CALIBRATE THE COMPLEX BANDPASS RESPONSE FUNCTION Run BPASS or CPASS to
determine a complex-valued bandpass response function. This step may not be necessary and and is
often skipped. Howevere, even for continuum observation, your final images are likely to be limited by
uncorrected bandpass functions (§9.4.5).
- SPECTRAL-LINE or POLARIZATION: The bandpass response function should be determined using
only the calibrator source. Unlike step 7, this step cannot be skipped.
- APPLY THE DOPPLER CORRECTION (spectral-line data only). Run CVEL to compensate for
the changing Doppler shifts of the antennas with respect to the source during the observation and
between the different observations (§9.4.6).
- REFINE THE AMPLITUDE CALIBRATION (spectral-line data only). Run ACFIT to amplitude
calibrate the program source using the template spectra method (§9.4.7). Note that the traditional
Tsys method (§9.4.4.2) can also be used if the line emission is too weak for the template method to
work successfully.
- DETERMINE RESIDUAL RATES (spectral-line data only). Now estimate the residual rates ONLY
by running FRING or BLING on one or a few spectral points on the target source (§9.4.8.12).
- APPLY CALIBRATION, AVERAGE, AND INSPECT THE FINAL DATA Run SPLIT or SPLAT
to apply the calibration solutions and to average the data in frequency if appropriate (§9.5.1), and
UVAVG to average the data in time (§9.5.2). You can also run SPLAT to combine these three operations
into a single step. It is recommended that you take the time to inspect the calibrated data to see if
more editing is needed, and to check that no gross calibration errors remain in the data (§9.5.3).
- SELF-CALIBRATE/IMAGE OR SELF-CALIBRATE/MODEL-FIT THE DATA The final complex
gain corrections are determined by iterating self-calibration with imaging of the resultant data set. This
is called hybrid-mapping. Alternatively, self-calibration can be iterated while fitting models directly to
the data — the goal is to self-calibrate using the best model possible. The options are outlined in §9.6.
- SPECTRAL-LINE: One final distinction remains between continuum and spectral-line data. Only
one or a few spectral points are used to determine final complex gain corrections which are then applied
to all spectral points in the line data. After applying these gains, the line source data can be imaged
to form an image cube.
- POLARIZATION: While the Stokes I and Stokes V images formed using the RR and LL visibilities will
be real-valued, the Stokes Q and Stokes U images formed using LR and RL visibilities can, in principle,
be complex-valued. You must use a fully complex imaging and deconvolution technique (see the HELP
files for CXPOL and CXCLN) or you can simply edit the LR and RL visibilities to enforce the condition that
the whenever you have a RL visibility on a baseline, you also have the LR visibility on the same baseline;
this ensures that the Stokes Q and U images are real-valued and allows you to use the standard imaging
tasks.