Flagging Based on a Template - UVAFLAG

Often it is convenient to edit one visibility dataset (``the template''), and then to apply the flagging from this to another. For example, forming and flagging a ``channel-0'' dataset might be less painful than flagging a huge spectral line dataset. Or you might want to flag a calibrated dataset and then apply this to the raw data. The task that can do these sorts of operations if uvaflag - it matches visibilities in the template and the input, and flags those visibilities in the input that are flagged in the template.

The template dataset should be a subset of the dataset being flagged, and the order of the records in the two datasets should be the same. Normally correlations in the template and the input are matched by comparing time, polarisation, baseline and frequency. However options nopol and nofreq can turn off the matching of polarisation and frequency. Typical inputs might be:

UVAFLAG
vis=multi.uv Dataset to be flagged.
tvis=multi.chan0 Template dataset, say a channel-0 one.
options=nofreq Do not match on frequency,
  i.e. ignore the frequency in multi.chan0

Miriad manager
2016-06-21