1 CIMAGE Create a simple geometrical source model

        This  task  create an image which can be read from a file or created
    from a function.  The ouput filename is FILEO$.

    A‐ From a FILE:  if the logical variable IFILE$ is set to YES  an  image
    is  read from the input formatted file FILEI$ the column must ordered as
    :  x y z and expect to have standard gdf image  structure.   For  conve‐
    nience, z should be in Brightness temperature, as for B case.


    B‐  From a FUNCTION: If one of the function is activated a corresponding
    image using the parameters PARAMETERS$ will be created.   Intensity  are
    in Brightness temperature.


    E_DISK  : Elliptical Disk
    E_RING  : Elliptical Ring
    E_GAUS  : Elliptical Gaussian
    E_EXPO  : Elliptical Exponential
    RECT    : Rectangle
    POWER   : Power law
    PLAN    : Plan

    Convertion to Jansky is possible if variable JANSKY$ is set to YES.  The
    image can be mutiplied by a gaussian beam if BEAM$ is set to YES parame‐
    ters are similar as for function GAUSS.

    ONLY  ONE  function  can be computed at the same time, Nevertheless more
    complex images can be produced using both CIMAGE and COMBINE tasks.



2 IFILE$
        TASK\LOGICAL "use an input FILE" IFILE$ Logical variable to  use  an
    input file

2 FILEI$
        TASK\CHARACTER  "input  FILENAME" FILEI$ Name of the input file used
    to create the gdf image

2 FILEO$
        TASK\CHARACTER "output FILENAME" FILEO$ Name of the output file

2 NXYV$
        TASK\INTEGER "ARRAY sizes" NXYV$[3] Array size : X Y V

2 SIZE$
        TASK\REAL "Image Size in arcsec" SIZE$ Image size lenght (")

2 SOURCE$
        TASK\CHARACTER "Source NAME" SOURCE$ Source name

2 LINE$
        TASK\CHARACTER "Line NAME" LINE$ Line name

2 FREQUENCY$
        TASK\REAL "Frequency (MHz)" FREQUENCY$ Line frequency in MHz

2 DF$
        TASK\REAL "Frequency Resolution (MHz)" DF$ Frequency  resolution  in
    MHz

2 E_DISK$
        TASK\LOGICAL "E_DISK " E_DISK$ Logical variable to compute an ellip‐
    tical disk function : f(x,y)=> (x/a)^2+(y/b)^2<=1

2 E_RING$
        TASK\LOGICAL "E_DISK " E_RING$ Logical variable to compute an ellip‐
    tical    ring    function    :   f(x,y)=>   (x/a)^2+(y/(a*e))^2>=1   and
    (x/b)^2+(y/(b*e))^2<=1

2 E_GAUS$
        TASK\LOGICAL "E_GAUS " E_GAUS$ Logical variable to compute an ellip‐
    tical gaussian function as f(x,y)=Tb*exp(‐4ln2*[(x/a)^2+(y/b)^2])

2 E_EXPO$
        TASK\LOGICAL  "EXPONENTIAL  " E_EXPO$ Logical variable to compute an
    exponential             decreasing             function               as
    f(x,y)=Tb*exp(‐2^C.ln2*[(x/a)^c+(y/b)^c])  ;  note that for c=2 is equal
    to an elliptical beam

2 RECT$
        TASK\LOGICAL "RECT " RECT$ Logical variable to compute  a  rectangle
    function: f(x,y)=Tb  for  ‐a/2 < x < a/2
               and  ‐b/2 < x < b/2

2 POW$
        TASK\LOGICAL "POWER " POW$ Logical variable to compute a power func‐
    tion as f(r)=Tb*(r/b)^c   ;  f(r<a)=f(a) ; f(r=b)=Tb

2 PLAN$
        TASK\LOGICAL "PLAN  " PLAN$  Logical  variable  to  compute  a  plan
    f(x,y)=ax+by+tb

2 PARAMETERS$
        TASK\REAL "Parameters: " PARAMETERS$[7]
     the 7 input  parameters are :

    FOR E_DISK,E_GAUS,RECT
        1,2     X,Y center relative coordinates (")
        3       Brightness Temperature (K)
        4       Position angle of the source (in DEGREES)
        5,6     Major(a) and Minor(b) axis (")
        7       not used

    FOR E_EXPO
        1,2     X,Y center relative coordinates (")
        3       Brightness Temperature (K)
        4       Position angle of the source (in DEGREES)
        5,6     Major(a) and Minor(b) axis (")
        7       radius’s power

    FOR E_RING
        1,2     X,Y center relative coordinates (")
        3       Brightness Temperature (K)
        4       Position angle of the source (in DEGREES)
        5       ring inner equatorial radius     (")
        6       ring outer equatorial radius     (")
        7       flattening factor  (= polar/equatorial radius)

    FOR POW
        1,2     X,Y center relative coordinates (")
        3       Brightness Temperature (K)
        4       A: distance threshold  (")
        5       B: width               (")
        6       C: radius’s power
        7       not used

    FOR PLAN
        1,2     X,Y center relative coordinates (")
        3       Brightness Temperature (K)
        4       Position angle of the source (in DEGREES)
        5,6     a,b plan equation coefficient  (1/")
        7       not used


2 JANSKY$
        TASK\LOGICAL  "  JANSKY  "  JANSKY$  Intensity scale convertion from
    Kelvin to Jansky if JANSKY$ is YES

2 BEAM$
        TASK\LOGICAL " BEAM " BEAM$ Mutiplication of the image by a gaussian
    beam

2 PARAMETERS2$
        TASK\REAL "BEAM Parameters " PARAMETERS2$[7] parameters are the same
    as for function GAUSS

1 ENDOFHELP
















































