SOLVE GAIN

###
SOLVE GAIN

            CLIC\SOLVE GAIN [SCAN] [/PRINT] [/OFFSET]

        Compute the receiver gain ratio (Image Side Band over Signal Side  Band)
        from  correlation  data  on a continuum source. Compute also the LO1 and
        LO3 phases that should be used in real time to have zero phases in  both
        side  bands  (DSB  receiver  up to 2006), or the relative phases between
        basebands (SSB dual-polarisation receivers).

        The data from all the scans in the current index are averaged except  if
        optional  argument SCAN is given, in which case the gain ratios are com-
        puted for each scan.

        Option /PRINT produces a procedure INTER_OBS:gain.obs to set  the  gains
        (and phases) in OBS.

        Option /OFFSET allow to only compute the phases, not the gain ratio.