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.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.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(
	string str1,
	string str2
)

Parameters

str1
Type: SystemString
Name of source Grid
str2
Type: SystemString
Name of output Grid
See Also