Subtracting or Adding Model Visibilities

uvsub is a simple task that allows one to subtract or add the MODEL_DATA column to the CORRECTED_DATA column of a given MeasurementSet. It has only 2 parameters: vis and reverse

If the CORRECTED_DATA does not exist then it will created  first and the DATA column will be copied into it before the addition/subtraction of the MODEL_DATA is performed.

The MODEL_DATA column can either be the scratch column or a virtual one either one  will work with uvsub

Please note that the model visibilities are usually populated by the tasks clean/tclean, ft and setjy. Please note that uvsub does the subtraction over the whole ms. If only a subsection (say field or spw selection was done whiile using clean or ft) of the ms was used in these tasks that populate the model visibilities then uvsub operation will give expected results for only those parts. The remainder of the ms will get the CORRECTED_DATA added/subtracted with what ever was there originally in the MODEL_DATA. On initialization the model visbilities are 1 for parallel hand and 0 for cross hand.