Click or drag to resize
CVVUPickPeak3 Method
Find peaks in a VV - method two, returning width and half-amplitude widths.

Available since Oasis montaj version: 6.2
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Uses Method 2 above, but also returns the anomaly width (defined as the distance between the surrounding troughs), and the width at the half-amplitude. The half-amplitude width is calculated in two parts, individually for each side based on the distance from the maximum to the location where the amplitude is mid-way between the maximum and trough. The returned VVs are packed; no dummies. Instead the indicies of the peak locations are returned.
Syntax
public static void PickPeak3(
	CGXNETCore gxNetShared,
	CVV vv_i,
	CVV vv_x,
	CVV vv_y,
	double pr_base_lvl,
	double pr_ampl,
	CVV v_vind,
	CVV v_vamp,
	CVV v_vwid,
	CVV v_vhawid
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_i
Type: GeoEngine.Core.GXNetXCVV
[i] data VV
vv_x
Type: GeoEngine.Core.GXNetXCVV
[i] X VV used to calculate distance
vv_y
Type: GeoEngine.Core.GXNetXCVV
[i] Y VV used to calculate distance
pr_base_lvl
Type: SystemDouble
[i] minimum value to accept (0.0 to find all)
pr_ampl
Type: SystemDouble
[i] amplitude
v_vind
Type: GeoEngine.Core.GXNetXCVV
[o] Indices with peak locations
v_vamp
Type: GeoEngine.Core.GXNetXCVV
[o] Amplitudes at the peaks
v_vwid
Type: GeoEngine.Core.GXNetXCVV
[o] Anomaly widths
v_vhawid
Type: GeoEngine.Core.GXNetXCVV
[o] Anomaly half-amplitude widths
See Also