Click or drag to resize
CIMGAverage2 Method
Reduce the dimensions in a 2D pager by a factor of 2

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
This method is useful for reducing the dimensions in a 2D pager by a factor of 2. The output pager retains the same origin, but the X and Y spacing is double that of the original. Essentially, the process removes all the even-indexed rows and columns, while leaving the locations of all the remaining data points in the "odd" rows and columns unchanged. The output values at the output data locations are created by performing an average of the original data point and its valid surrounding data points; what is essentially a 3x3 smoothing filter.
Syntax
public static void Average2(
	CGXNETCore gxNetShared,
	string grid_in,
	string grid_out
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
grid_in
Type: SystemString
Name of source Grid
grid_out
Type: SystemString
Name of output Grid
See Also