![](../icons/Help.png) | CPGUIDWGriddingDB Method |
IDWGriddingDB_PGU Inverse-distance weighting gridding method, DB version.
Available since Oasis montaj version: 7.3.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Grid cells take on the averaged values within a search radius, weighted inversely by distance.
Weighting can be controlled using the power and slope properties;
weighting = 1 / (distance^wtpower + 1/slope) where distance is in
units of grid cells (X dimenstion). Default is 0.0,
If the blanking distance is set, all cells whose center point is not within the blanking distance of
at least one data point are set to dummy.
REG Parameters:
X0, Y0, DX, DY: Grid origin, and cell sizes (required)
WT_POWER (default=2), WT_SLOPE (default=1) Weighting function parameters
SEARCH_RADIUS: Distance weighting limit (default = 4 * SQRT(DX*DY))
BLANKING_DISTANCE: Dummy values farther from data than this distance. (default = 4 * SQRT(DX*DY))
LOG: Apply log transform to input data before gridding (0:No (default), 1:Yes)?
LOG_BASE: One of VV_LOG_BASE_10 (default) or VV_LOG_BASE_E
LOG_NEGATIVE: One of VV_LOG_NEGATIVE_NO (default) or VV_LOG_NEGATIVE_YES
Syntaxpublic static void IDWGriddingDB(
CPG oPG1,
CDB oDB2,
int i3,
int i4,
int i5,
CREG oREG6
)
Public Shared Sub IDWGriddingDB (
oPG1 As CPG,
oDB2 As CDB,
i3 As Integer,
i4 As Integer,
i5 As Integer,
oREG6 As CREG
)
public:
static void IDWGriddingDB(
CPG^ oPG1,
CDB^ oDB2,
int i3,
int i4,
int i5,
CREG^ oREG6
)
static member IDWGriddingDB :
oPG1 : CPG *
oDB2 : CDB *
i3 : int *
i4 : int *
i5 : int *
oREG6 : CREG -> unit
Parameters
- oPG1
- Type: GeoEngine.Core.GXNetCPG
input grid - oDB2
- Type: GeoEngine.Core.GXNetCDB
Database - i3
- Type: SystemInt32
X Channel [READONLY] - i4
- Type: SystemInt32
Y Channel [READONLY] - i5
- Type: SystemInt32
Data Channel [READONLY] - oREG6
- Type: GeoEngine.Core.GXNetCREG
Parameters (see above)
See Also