
dgunif(1)                    Khoros                     dgunif(1)

PROGRAM
     dgunif - Creates a uniform noise data set.

SYNTAX
     dgunif

     -o             resulting image

     [-i]           input value file (xviff file)

     [-trigger]     trigger input

     [-s]           number of vectors

     [-n]           number of points

     [-m]           minimum

     [-x]           maximum

     [-d]           data processing direction (0 = down vectors,
                    1 = across bands)

     [-t]           lets user choose data type of image:
                     'float' (select data type),
                      or 'complex' (choose data type)
                       [default = float]

     [-V]           Gives the version for dgunif

     [-U]           Gives the usage for dgunif

     [-P]           Prompts for command line options

     [-A [file1]]   Creates the answer file called dgunif.ans or
                    file1

     [-a [file1]]   Uses dgunif.ans or file1 as the answer file

DESCRIPTION
     creates a one dimensional uniform noise data set.  The user
     can specify the minimum, maximum, and signal dimensions.

     If a "value file" is specified, it will contain a kernel
     that describes the signal ensemble to be generated.  This is
     an viff format file.  The information will be contained in a
     single vector of float type information.  The row and column
     size information is irrelevant.  The format of the informa-
     tion is as follows:

     [<minimum><maximum>]

     where each item enclosed in triangular brackets represents a
     single float.  The information set in square brackets is
     repeated as a group one per vector.

     For example if 2 vectors are specified, and the first vector
     has a minimum of 0.0 and maximum of 1.0, the second vector
     has maximum of 4.0 and maximum of 6.0, the "parameter file"
     will look like this:

     band #1:  0.0 4.0
     band #2:  1.0 6.0

     The advantage of this "parameter file" is that it allows the
     creation of an ensemble of 1D signals that are independant
     of each other.  Number of data sets, number of points per
     data set, data type, and process direction must be entered
     on the command line, or the defaults can be taken.  If more
     data sets are requested than are specified in the parameter
     file, then an error will occur.  If fewer data sets are
     requested than are specified, then the unused parameters
     will be ignored.

     The resulting images may be of type FLOAT or COMPLEX.

     Data can be processed with either band or vector orienta-
     tion.  The default data processing direction is in the vec-
     tor direction.  This means that data stored in multiband
     format will be processed as a set of data sequences, where
     each sequence corresponds to a pixel location, and the
     points of each sequence are defined by the bands correspond-
     ing to that pixel location.  The direction of processing can
     be changed so that each band is processed as a signal
     (instead of each vector being a signal) by setting the -d
     option to 1.

     The trigger input can be used to cause dgunif to re-execute
     when used inside cantata. No image is read from this input.

REQUIRED ARGUMENTS
     -o     type: outfile
            desc: resulting image

OPTIONAL ARGUMENTS
     -i     type: infile
            desc: input value file (xviff file)

     -trigger
            type: infile
            desc: trigger input

     -s     type: integer
            desc: number of vectors
            default: 1
            bounds: value > 0

     -n     type: integer
            desc: number of points
            default: 256
            bounds: value > 0

     -m     type: float
            desc: minimum
            default: 0
            bounds: no range checking

     -x     type: float
            desc: maximum
            default: 1
            bounds: no range checking

     -d     type: boolean
            desc: data processing direction (0 = down vectors, 1
            = across bands)
            default: true

     -t     type: string
            desc: lets user choose data type of image
            allowed values:
             'float' (select data type),
              or 'complex' (choose data type)

EXAMPLES
     dgunif -i params.xv -o noise.xv -t float -d 0
     dgunif -o test.xv -t complex -d 1

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), ldgunif(3)

RESTRICTIONS
     can only generate VFF_TYP_FLOAT and VFF_TYP_COMPLEX type
     images.

COPYRIGHT
     Copyright 1991, University of New Mexico.  All rights
     reserved.

Khoros                    Release: 1.0                          1

