; MFPRT
;---------------------------------------------------------------
;! prints MF tables in a format needed by modelling software
;# Task Table MODELING ANALYSIS
;-----------------------------------------------------------------------
;;  Copyright (C) 1995, 1999, 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
;-----------------------------------------------------------------------
MFPRT     LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
MFPRT:  Task to print MF tables in modelling software format.
USERID      -32000.      32000.    Image owner ID number
INNAME                             Image name (name)
INCLASS                            Image name (class)
INSEQ             0.0    9999.0    Image name (seq. #)
INDISK            0.0       9.0    Disk drive #
INVERS            0.0              Start MF extension to list
IN2VER            0.0              Final MF extension to list
XINC              0.0   32767.     Increment between extensions
DOCRT            -1.0     132.0    If > 0, write to CRT
                                   > 72 => CRT line width
OUTPRINT
                                   Printer disk file to save
FLUX                               Flux level below which to
                                   ignore components.
                                   0 => accept all cpts
IMSIZE          0.0                Min, max allowed component
                                   size (asec.)
SORT                               Sort order: ' ' => '-F'
OPTYPE                             'LIST' => source list format
                                   as for BOXES, SETFC, FACES
----------------------------------------------------------------
MFPRT
Type:  Task
Use:   MFPRT prints on the line printer or terminal the rows of an MF
       extension file in a specific format needed by external modelling
       software.  The angular units are degrees, arc seconds, or milli
       arc seconds, depending on the cell size.  OPTYPE='LIST' allows
       you to print an MF table in the special format used for source
       lists by such tasks as SETFC, FACES, and BOXES.
Adverbs:
  USERID.....The user ID of the owner of the image.  0 => current user,
             32000 => any user.
  INNAME.....Image name (name).           Standard defaults.
  INCLASS....Image name (class).          Standard defaults.
  INSEQ......Image name (seq. #).         0 => highest.
  INDISK.....Disk drive # of image.       0 => any.
  INVERS.....First MF extension to list.  0 => 1.
             Enables the user to run through all available MF tables
             attached to a given file and list the values in one output
             file.
  IN2VER.....Last MF extension to list    < INVERS => to end.
  XINC.......Increment between MF extension files.     <= 0 => 1.
  DOCRT......False (<= 0) use the line printer if OUTPRINT = ' '
                   else write named OUTPRINT file only.
             True  (> 0) use the terminal interactively.  The task will
                   use the actual terminal width as a display limit
                   unless 72 < DOCRT < width.  In that case, the display
                   limit will be DOCRT characters.
  OUTPRINT...Disk file name in which to save the line printer output.
             ' ' => use scratch and print immediately for interactive
             jobs - batch jobs use OUTPRINT = 'PRTFIL:BATCHjjj.nnn'
             (jjj= job #, nnn = user #).  When OUTPRINT is not blank,
             multiple outputs are concatenated, and the file is not
             actually printed.
  FLUX.......Flux level below which to ignore components.
             0 => accept all components.
  IMSIZE.....Minumum and maximum size allowed for components in arc
             seconds.  IMSIZE(2) <= 0 => accept all components.  If not
             given, then large, non-physical components may slip
             through.
  SORT.......Sort order to use: 'C', 'F', 'X', 'Y', 'J', 'N', 'P'
             for channel, peak flux, X position, Y position, major axis,
             minor axis, position angle.  Use '-C' etc for inverse
             order.  ' ' => '-F'
----------------------------------------------------------------
