1 UV_POINTING_NEW Compute a UV table with pointing errors from a model data cube
        UV_POINTING_NEW

    Compute a UV table from an input image (2-D images only) and a reference
    UV table used to specify the UV sampling. Pointing errors are added from
    an  independant  table. This task can be used to model a mosaic observa-
    tion with or without pointing errors.

2 UVSAMPLE$
        TASK\FILE      "Input UV Sample Table"    UVSAMPLE$

    UV Table containing the UV coverage.

2 IMAGE$
        TASK\FILE      "Input .LMV Cube "         IMAGE$

    The input model image.

2 UVMODEL$
        TASK\FILE      "Output UV Model Table"    UVMODEL$

    Output UV table containing the values of the real and imaginary parts of
    the  visibilities  calculated  from the input image for the (u,v) points
    contained in the input UV table and the actual pointing of the  antennas
    as defined by the pointing model.

2 FREQUENCY$
        TASK\REAL      "UV Model Table frequency" FREQUENCY$

    Observing frequency for the simulation.

2 MOSAIC$
        TASK\LOGICAL   "Mosaic observations?"     MOSAIC$

    Indicates whether the observation is a single field or a mosaic. Setting
    MOSAIC$ to YES is not needed if the pointing model CODE$ is 5.  In  con-
    trast,  setting  MOSAIC$ to YES allows to read the pointing table and to
    add pointing errors setting the pointing model CODE$ to 2, 3 or 4.

2 CODE$
        TASK\INTEGER   "Pointing (error) model"           CODE$

    A code from 1 to 6 indicating the pointing model.
      CODE = 1       No error
      CODE = 2       Fixed error (identical for all antennas)
      CODE = 3       Purely random error
      CODE = 4       Random per antenna, fixed in time
      CODE = 5       The pointing of the antennas at a given time is read from
                     gdf table with dimensions [NT,NA,2]. See "Pointing table"
      CODE = 6       Same that ICODE=5 but the pointing offsets for each each
                     visibility measurement are saved in columns 11 and 12 of
                     the output uv table (for On-the-fly simulations).

    When the pointing error model is 1 to 4, the pointing table can still be
    read  setting  MOSAIC$  to  YES.  In  this case the pointing offsets are
    added.

2 POINTING$
        TASK\CHARACTER "Pointing table"      POINTING$

    The pointing offsets table (in GDF format)  with  dimensions  [NT,NA,2].
    NT  is the number of time integrations, NA is the number of antennas and
    2 stands for the offsets in alpha [1] and delta [2]. The  offsets  units
    should be arcsec.

    This  table may content actual pointing errors that change with time and
    that are different for each antenna or just the pointing offsets without
    errors  for  mosaic  or on-the-fly simulations (in this case the offsets
    are the same for all the antennas and NT is usually the number of fields
    to be observed multiplied by the number of times that the full region is
    mapped).

    The table is used when the pointing model is 5 or 6.  It  is  also  used
    when MOSAIC$ is set to YES, which allows to add pointing errors choosing
    a pointing model from 2 to 4.

2 ERRORS$
        TASK\REAL      "Pointing Errors"          ERRORS$[2]

    The scale factors for the pointing errors (in arcsec) when using  point-
    ing models 2,3 or 4.

2 PRIMARY$
        TASK\REAL      "Half-Power Beam Width"    PRIMARY$

    The primary beam Full Width at Half Power (in arcsec).

1 ENDOFHELP












































