The self-calibration process is performed in two main steps (there is a minor third step). First the task demos (``de-mosaic'') is used to break the model produced by mosmem into models for individual pointings. That is, demos produces many models each one of which corresponds to the nominally true sky multiplied by the primary beam pattern at a pointing. The second step is performed by task selfcal (gpscal cannot cope with mosaiced observations). Task selfcal takes all the models simultaneously and then, for each visibility in the input visibility dataset, it computes a model visibility using the model with the same pointing centre. The observed and model visibilities are then processed by a conventional antenna-gain solver, to produce a table of antenna gains vs time.
In reality, antenna gains will be a function of both time and pointing centre. However selfcal assumes that the gains are purely a function of time - not pointing. In practice this should not be a great problem, as time and pointing change together, and integrations that are close in time will also be close on the sky. Note that, short of setting a self-calibration solution interval to be smaller than the integration time, you cannot be sure that a solution interval will contain data from a single pointing.
In the above process, only a subset of all pointings need be used in the self-calibration process. If, for example, you have a strong source in one pointing and all the other pointings have only weak emission, it may well be appropriate to assume that the antenna gains are completely independent of pointing. In this case, the gains can be determined from the one strong field.
We now address the steps in more detail:
lmc.dmos. would produce names such as
This causes demos
to account for any residual primary beam
attenuation that mosmem
|Model produced by mosmem.
|The visibility dataset to be self-calibrated.
|Leave unset if self-calibrating with all pointings, or
|select just the fields to be used in the self-calibration process.
|Output name template.
|Account for any residual primary beam attenuation.
|Generally leave unset.
|Generally leave unset.
options=mosaic to invoke the
mosaicing machinery. Note also that selfcal
will not use
a visibility of a particular pointing if there is no model for this
pointing. Thus, if you are self-calibrating using only a few of the stronger
pointings, you do not have to explicitly select the data for these
Typical inputs are:
|Models produced by demos.
|The vis dataset to be self-calibrated.
|Set as with normal self-calibration.
|Use mosaic mode and phase self-calibration, or
|Set the `interval' item of a vis dataset.
|Set the tolerance to 2.4 hours (0.1 days).