; PPAPP
;---------------------------------------------------------------
;! Applies Right minus Left phase difference to a 2nd data set
;# Task UV Calibration polarization
;-----------------------------------------------------------------------
;;  Copyright (C) 2019
;;  Associated Universities, Inc. Washington DC, USA.
;;
;;  This program is free software; you can redistribute it and/or
;;  modify it under the terms of the GNU General Public License as
;;  published by the Free Software Foundation; either version 2 of
;;  the License, or (at your option) any later version.
;;
;;  This program is distributed in the hope that it will be useful,
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;  GNU General Public License for more details.
;;
;;  You should have received a copy of the GNU General Public
;;  License along with this program; if not, write to the Free
;;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
;;  MA 02139, USA.
;;
;;  Correspondence concerning AIPS should be addressed as follows:
;;         Internet email: aipsmail@nrao.edu.
;;         Postal address: AIPS Project Office
;;                         National Radio Astronomy Observatory
;;                         520 Edgemont Road
;;                         Charlottesville, VA 22903-2475 USA
;-----------------------------------------------------------------------
PPAPP     LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
PPAPP:  Task to apply Right - Left phase difference to 2nd file
INNAME                             UV data (name) to correct
INCLASS                            UV data (class).
INSEQ             0.0    9999.0    UV data (seq. #).  0 => high
INDISK                             Disk unit #.       0 => any
IN2NAME                            UV data (name) with PP file
IN2CLASS                           UV data (class).
IN2SEQ            0.0    9999.0    UV data (seq. #).  0 => high
IN2DISK                            Disk unit #.       0 => any
FREQID                             Freq. ID to select.
                                   None selected => 1.
SUBARRAY          0.0     1000.0   Subarray, 0=>1
INVERS            0.0              PP version number
BPVER             0.0              Bandpass table version to
                                   correct
PDVER             0.0              PD table version to correct
----------------------------------------------------------------
PPAPP
Type:  Task
Use:   Takes the right minus left polarization phase difference found by
       RLDIF  (or the X - Y phase difference of XYDIF) and applies it to
       a bandpass table of a second data set.
Adverbs:
             *** Data set to be corrected ****
  INNAME.....UV file name (name).       Standard defaults.
  INCLASS....UV file name (class).      Standard defaults.
  INSEQ......UV file name (seq. #).     0 => highest.
  INDISK.....Disk unit #.               0 => any.
             *** Data set with PP table ****
  IN2NAME....UV file name (name).       Standard defaults.
  IN2CLASS...UV file name (class).      Standard defaults.
  IN2SEQ.....UV file name (seq. #).     0 => highest.
  IN2DISK....Disk unit #.               0 => any.
  FREQID.....Frequency identifier to select.  0 -> 1
  SUBARRAY...Subarray number  0 -> 1
  INVERS.....Version of the PP extension file to use.  0 -> high
  BPVER......Version of the BP table to be corrected.  0 -> high
  PDVER......Version of the PD and CP tables to be corrected.  0 -> high
----------------------------------------------------------------
