; CHKFC
;---------------------------------------------------------------
;! makes images of Clean boxes from Boxfile
;# Task Imaging
;-----------------------------------------------------------------------
;;  Copyright (C) 2001-2002
;;  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
;-----------------------------------------------------------------------
CHKFC     LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CHKFC:  Makes images showing the fields and boxes in BOXFILE
OUTNAME                            Output Image name (name)
OUTSEQ            0.0    9999.0    Output Image name (seq. #)
OUTDISK           0.0       9.0    Disk drive #
BOXFILE
                                   disk file to read field locs
                                   and Clean boxes
CELLSIZE        0.0                (X,Y) size of grid in asec
IMSIZE          0.0      16384     field size
SHIFT                              Position shift (RA,Dec) asec
                                   for all fields
DOBLANK        -1.0         1.0    > 0 Use blanks for unCleaned
DOWEDGE        -1.0         2.0    > 0 Add field number in boxes
----------------------------------------------------------------
CHKFC
Type:  Task
Use:   CHKFC reads an input BOXFILE which defines the fields for
       IMAGR.  It makes a set of images with 1's in the Clean windows
       and blanks or 0's outside the Clean windows.
Adverbs:
  OUTNAME.....The output image name (name).    Standard defaults.
  OUTSEQ......The output image name (seq. #).  0 => highest.
  OUTDISK.....The output disk drive #.         0 => any.
  BOXFILE.....Input text file containing lines which specify the fields
              for the multi-field imaging.  This file should then be
              specified as the BOXFILE for IMAGR.
  CELLSIZE....Pixel size for the fields in IMAGR in arc seconds.
  IMSIZE......Size of each field.
              If CELLSIZE and/or IMSIZE are zero, the data are read to
              find the maximum baseline and maximum W in order to
              estimate these parameters.
  SHIFT.......Specifies a position shift in RA & Dec (in arc seconds)
              for all of the fields in the inner portion.
  DOBLANK.....True (> 0) => pixels outside Clean boxes are represented
              with magic-value blanks; otherwise 0's are used.  When
              FLATN is run, 0's are interpolated and averaged causing
              interesting but sometimes odd effects.  Blanks are
              usually better.
  DOWEDGE.....True (> 0) => insert the field number in all Clean
              windows that are large enough.  Image intensity 2 is
              used for window boundaries, 1 for Clean windows outside
              the numbers and 3 times this for numbers.  DOWEDGE 2
              telss the task to make the numbers rather larger (for
              TVLODs with TXINC and TYINC > 1).  Again FLATN's
              interpolation can do some odd things.
----------------------------------------------------------------
