As of Tue Jul 7 4:27:00 2020

BPFLG: edits UV data when the bandpass values are out of range


INNAME                             Input UV data (name)
INCLASS                            Input UV data (class)
INSEQ                              Input UV data (seq. #)
INDISK                             Input UV data disk drive #
INVERS                             Input table file version no.
FLAGVER                            Flag table version
OUTFGVER          0.0              Output FG table version
TIMERANG                           Time range to include
BIF                                First IF to include
EIF                                Last IF to include
BCHAN                              First channel to inclue
ECHAN                              last channel to include
ANTENNAS                           Antennas to include
APARM                              (1) Lowest okay amplitude
                                   (2) Highest okay amplitude
                                   (3) Lowest okay phase
                                   (4) highest okay phase
BADDISK                            Disks to avoid for scratch


Type:  Task
Use:   To edit uv data by examining bandpass-like table data in a
       batch-like fashion.  BP table values outside the specified
       amplitude and phase ranges generate data flags output to
       the OUTFGVER flag table
  INNAME.....Input UV data file (name).       Standard defaults.
  INCLASS....Input UV data file (class).      Standard defaults.
  INSEQ......Input UV data file (seq. #).     0 => highest.
  INDISK.....Input UV data file disk drive #. 0 => any.
  INVERS.....Input table file version number, 0 -> current highest.
             The input file is not changed, but may be sorted.
  FLAGVER....specifies the version of the flagging table to be applied
             to the data on input.     0 -> highest, -1 -> none.
             If the specified input flag table already exists, it is
             copied to the output flag table if OUTFGVER=0.
  OUTFGVER...Flag table version to be used on output for both single-
             and multi-source data sets.  If OUTFGVER is <= 0 or
             greater than FGmax (the previously highest FG version
             number), then a new FG table will be created for the new
             flags with version FGmax+1.  This new table will also
             contain the flags from FG version FLAGVER.  If OUTFGVER
             specifies a pre-existing FG version, then the input
             flags are not copied even if OUTFGVER and FLAGVER are
             not equal.
  TIMERANG...Time range of the data to be edited. In order:
             Start day, hour, min. sec, end day, hour, min. sec. Days
             are relative to the reference date.
  BIF........The lowest numbered IF to include.   0 => 1.
  EIF........The highest numbered IF to include. 0 =>highest.
             Note: not all data sets will have IFs.
  BCHAN......The lowest spectral channel to include.  0 -> 1
  ECHAN......The highest spectral channel to include.  0 -> max
  ANTENNAS...A list of antenna numbers to include.  0 => all.
  BADDISK....The disk numbers to avoid for scratch files (sorting
             tables mostly).