AVS Modules                                                         write reg
Lawrence Berkeley Laboratory

NAME
     write reg - write an ascii version of an regular field in the
         "LBL" field file format.

SUMMARY
     Name          write reg

     Type          render

     Inputs        field uniform

     Parameters	   filename
	

DESCRIPTION

     The write reg module will write an ASCII representation of an
     input uniform field to a file.  The file format is the "LBL"
     uniform field file format, and is readable by the "read uniform"
     input module.

     This module is useful for looking at uniform fields, for example,
     after some processing step in a data flow network.

INPUTS

     field (any type, size, dimensionality) uniform

PARAMETERS

     filename - a browser is supplied to let the user specify the 
         filename to which the ascii representation will be written.

EXAMPLE

1.  The first example shows a network in which a uniform field
	is read in.  Next, a filtering operation is performed
	(thresh), then the converted field is written back out to
	a file.
 
     READ UNIFORM
         |
      THRESH
         |
     WRITE REG

RELATED MODULES
     read uniform

LIMITATIONS
     The data values in the field are written out in floating point format.
     The input data field must be in floating point format.

Lawrence Berkeley Laboratory                                    16 Apr 1991
Wes Bethel
