UV_REWEIGHT DO

        [CLEAN\]UV_REWEIGHT DO [Tolerance [Printout]] [/RANGE Min Max Type]
      [/FLAG Threshold]

    Derive the scale factor from the noise statistics over the channels, and use
    it to rescale the weights.  The noise statistic is derived from the real and
    imaginary  parts  separately, taking mean value,  or the minimum of the twos
    when the mean/min ratio is smaller  than  specified  Tolerance  (default  is
    1.2).

    The /FLAG option indicates whether data with highly deviating weights should
    be  flagged. UV_REWEIGHT DO combines the two actions of UV_REWEIGHT ESTIMATE
    (or TIME) and UV_REWEIGHT APPLY, but with  a  control  over  these  outliers
    (that are not identified by APPLY).

    Mode DO uses the ESTIMATE method if the number of channels is > 16, the TIME
    method if not.

    Printout  is  a  number  indicating  to  print some correction factors every
    Printout visibility (no print if 0, the default) (for ESTIMATE method only).