1 Language
      CLARK   : Perform a CLARK clean
      FIT     : Fit the dirty beam
      HOGBOM  : Perform a normal clean
      LOAD    : Load a variable for RGMAP and PLOT
      MOSAIC  : Toggle the mosaic mode
      MRC     : Multi-Resolution Clean
      READ    : Read the input files
      SDI     : Steer-Dewdney-Ito Clean
      SUPPORT : Define the support for cleaning
      UV_FLAG : Interactively flag UV data
      UV_MAP  : Construct a map from UV data
      UV_SHOW : Display UV data
      UV_SORT : Sort and Transpose UV data for plotting
      UV_STAT : Analyze UV data set for beam sizes and noise properties
      WIPE    : Regularized Deconvolution
      WRITE   : Save the cleaned or residual images


1 CLARK
        [CLEAN\]CLARK [Plane] [/PLOT Clean|Residu] [/FLUX Min Max]

    Clean the specified plane (default: plane specified by  variable  FIRST)
    with  the  B.Clark  method.  If  option /PLOT is given, a display of the
    CLEAN or RESIDUAL map will be shown at each major  cycle,  depending  on
    the  argument  (default  Residual),  and  the  user will be prompted for
    continuation. Option /FLUX can be used to give the limit for the display
    of the cumulated clean flux as a function of number of components.

    In mosaic mode (See command MOSAIC), a mosaic clean is performed.

1 FIT
        [CLEAN\]FIT [Field]

    Fit the dirty beam to obtain the clean beam parameters.   This  is  done
    automatically by CLARK, HOGBOM, MRC and SDI if needed.

    Clean beam parameters can also be specified by the users, by setting the
    variables  MAJOR_AXIS,  MINOR_AXIS and ANGLE. In this case, no automatic
    fit will be perform by CLARK, HOGBOM, MRC and SDI.

    In mosaic mode, you can specify on which field the fit has to  be  made,
    using the first argument.

1 HOGBOM
        [CLEAN\]HOGBOM [Plane] [/FLUX Fmin Fmax]

    Clean the specified plane (default: plane specified by  variable  FIRST)
    with   the  standard  Hogbom  method.  The  cumulative  cleaned  flux is
    displayed in real time while cleaning goes on in an  additional  window.
    Option  /FLUX  can  be used to give the limits in flux for this display.
    Cleaning can be interrupted by pressing C at any time.

    In mosaic mode (See command MOSAIC), a mosaic clean is performed.

1 LOAD
        [CLEAN\]LOAD Variable

    Define Variable (CLEAN, DIRTY, RESIDUAL and BEAM) to be the item  to  be
    plotted  (for  RGMAP  and  PLOT  for example). Used in particular by the
    procedure
            @ PR:P_PLOT Variable [First [[Last]]
     which will plot all channels of the specified variable.  This procedure
    is available simply by typing
            SHOW Variable [First [[Last]]
    First (default 0)  and  Last  (default  First)  are  optional  arguments
    indicating  the first and last channel to be displayed. If not specified
    the variables FIRST and LAST of the INPUT macro are used.

    Several  variables  control  the  aspect  of  the  display.   DO_CONTOUR
    indicates  whether contour levels should be drawn, DO_BIT whether bitmap
    should be displayed.

1 MOSAIC
        [CLEAN\]MOSAIC On|Off

    Turn on or off the  mosaic  mode.  Note  that  a  READ  PRIMARY  command
    switches  automatically  in  mosaic  mode. The program prompt changes to
    inform the user.

1 MRC
        [CLEAN\]MRC [Plane] [/PLOT Clean|Residu]  [/FLUX  Min  Max]  [/RATIO
    Irat]

    Perform a Multi-Resolution CLEAN on  the  current  dirty  image.   Seems
    operational  since  version  2.0 of MAPPING. If option /PLOT is given, a
    display of the CLEAN or RESIDUAL map will be shown at each major  cycle,
    depending  on  the  argument  (default  Residual),  and the user will be
    prompted for continuation. Option /FLUX can be used to  give  the  limit
    for  the  display of the cumulated clean flux as a function of number of
    components.

    A summary plot with the Difference, Smooth, and total  CLEANed  maps  is
    displayed at the end.

    Option RATIO can be used to specify the smoothing factor, which must  be
    a power of 2. The default is estimated from the image size.

    MRC does not support mosaics yet.

1 READ
        [CLEAN\]READ Variable File [/PLANE First Last]

    Read the specified variable (UV, BEAM, DIRTY,  CLEAN  or  PRIMARY)  from
    input  File. First and last planes read in can be specified using option
    /PLANE (valid also for UV tables).


1 SDI
        [CLEAN\]SDI [Plane] [/PLOT Clean|Residu]

    Perform a Steer-Dewdney-Ito CLEAN. This clean method selects an ensemble
    of  clean  components and remove them at once using FFTs.  It works best
    for extended sources and UV coverages with short  spacings.  In  such  a
    case,  it  may avoid the "ringing" features which appear using the CLARK
    or HOGBOM techniques.

    In mosaic mode (See command MOSAIC), a mosaic clean is performed.

1 SUPPORT
        [CLEAN\]SUPPORT [Polygon] [/CURSOR] [/PLOT]

    Define the support function for CLEAN components. Calls command  POLYGON
    of GREG to do that. See HELP POLYGON for details.

    With option /CURSOR, it calls the  interactive  cursor  to   define  the
    polygon   summits.   Type any key to go to next summit, D to correct the
    last one and type E to end the polygon  definition.  The  last   polygon
    side  will  then appear. The polygon definition may be aborted by typing
    Q. For X11 displays, you may use the mouse  buttons  for  the  commands.
    The  left  mouse  button draws a vertex, the middle mouse button deletes
    the  last  vertex,  and   the  right  mouse  button  ends  the   polygon
    definition.

1 UV_FLAG
        [CLEAN\]UV_FLAG

    Display UV data and calls the cursor to interactively  select  a  region
    where  UV data will be flagged. The parameters for the display are as in
    UV_SHOW.

    Subsequent mapping with UV_MAP  will ignore flagged data. Unflagging can
    only be done by re-loading the UV data set with command READ UV.

    UV data flagged using command UV_FLAG can be saved on file with  command
    WRITE UV File.

1 UV_MAP
        [CLEAN\]UV_MAP

    Compute a dirty map and beam from the UV data. UV data should have  been
    loaded  by  command  READ  UV File. Parameters are specified through SIC
    variables as for the Task UV_MAP: use command INFO for the list.

1 UV_SHOW
        [CLEAN\]UV_SHOW

    Display UV data loaded by command READ UV File. Control  parameters  are
    available  as  SIC  variables.  Use command INPUT UV_SHOW to check them.
    Flagged UV data will appear in a different color.

1 UV_SORT
        [CLEAN\]UV_SORT Order

    Sort and transpose the UV data set, loaded  by  command  READ  UV  File.
    Order is either TIME for Time-Baseline ordering,  BASE for Baseline-Time
    ordering. The sorted UV data is  then  available  in  variable  UVS  for
    further plotting.

1 UV_STAT
        [CLEAN\]UV_STAT Keyword [Step Start]

    Perform analysis of the UV data set to  predict  the  synthesized  beam,
    expected  noise  level,  and recommended pixel size for UV_MAP.  Keyword
    can be TAPER, WEIGHT, or CELL.

    For TAPER, beam sizes and noise level (in flux and brightness)  will  be
    computed  for  9 different tapers (from Start to Start*Step^9).  Default
    value for Step is sqrt(2), Default value for Start is  50  m.  Weighting
    mode,  UV  cell  size  and  "robust"  parameter  are taken from variable
    UV_CELL.

    For WEIGHT, beam sizes and noise level (in flux and brightness) will  be
    computed  for  9  different "robust" weighting parameters (from Start to
    Start*Step^9). Default value for Step is sqrt(10), and default value for
    Start  is  derived to center the "robust" parameter values around 1.  UV
    cell size is taken from variable UV_CELL[1], and  Taper  is  taken  from
    variable UV_TAPER.

    For CELL, beam sizes and noise level are computed  for  9  different  UV
    cell sizes. That version is still under development.

    UV_STAT allows the astronomer to select the  best  weighting  parameters
    according  to  its  personnal  tradeoff  between  angular resolution and
    sensitivity.



1 WIPE
        [CLEAN\]WIPE

    Starts  the  WIPE  deconvolution  method.  WIPE   is   a   deterministic
    deconvolution  method  using  CLEAN  as a starting point. WIPE applies a
    regularization  principle   and   provides   error   analysis   on   the
    deconvolution   process.   A  strategy  is  defined  in  WIPE  to  build
    automatically the effective support of  the  object  under  observation.
    However  a  starting  support  (analog to a Clean Box) can be defined to
    restrict the search.


1 WRITE
        [CLEAN\]WRITE Variable File

    WRITE the specified variable (CLEAN, RESIDUAL, DIRTY, BEAM, SUPPORT, UV)
    onto a File.

1 END















































