AVS Modules						              scat 2d
Lawrence Berkeley Laboratory

NAME
     scat 2d - resample scattered data over two variables

SUMMARY
     Name	   scat 2d

     Type	   filter

     Inputs	   field 1D irregular 2-coordinate scalar float

     Outputs	   field 2D irregular 2-coordinate scalar float

     Parameters	   _N_a_m_e		   _T_y_p_e		  _D_e_f_a_u_l_t	 _M_i_n	   _M_a_x
		   Xmin		   float	  -1.0		 Unbounded
		   Xmax		   float	  1.0 		 Unbounded
		   Ymin		   float	  -1.0 		 Unbounded
		   Ymax		   float	  1.0		 Unbounded
		   Xsamples	   integer	  20		 > 0
		   Ysamples	   integer	  20		 > 0


DESCRIPTION
    The scat2d module will resample 1d scatter data in 2 variables.  A
    typical use for this module is to take a field of 2-coordinate,
    scalar values, and resample over a "regular" grid.

INPUTS

     Data Field	(required; field 1D irregular 2-coordinate scalar)
          The input field consists of a 1D field (scatter data) which
	  has scalar floating point data, and associated x,y
	  coordinate information.

PARAMETERS

     Xmin,Xmax,Ymin,Ymax
	The values of these variables define the coordinate range of
	the grid over which the input data will be resampled.  These
	values may be adjusted, for example, to form a bounding box
	around all the input data, or to look at a box enclosing
	some volume within the input data.

     Xsamples, Ysamples
	These values define the resolution of the resampling grid.
	Increasing these values will result in a "finer" grid,
	decreasing these values will result in a "coarser" grid
	(over the same coordinate range defined by Xmin,Xmax, etc.).

OUTPUTS

	Field 2D irregular 2-coordinate scalar float
	   The output field is an "irregular" field consisting of
	   three data dimensions and two coordinate dimensions.
	   The data is a scalar floating point value.

EXAMPLE	1
	The first example illustrates the use of the scat2d module
	to resample a scatter field, then display that 2-d slice as
        a scalar mesh (using the irreg2reg module).

	READ IRREGULAR   - where input data consists of 1D scattered data
             |
          SCAT 2D
             |
         IRREG2REG
             |
       FIELD TO MESH
             |
        RENDER GEOMETRY
             |
        DISPLAY PIXMAP

AVS Modules						              scat 2d
Lawrence Berkeley Laboratory
