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.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
	CVV oVV1,
	CVV oVV2,
	CVV oVV3,
	double d4,
	double d5,
	CVV oVV6,
	CVV oVV7,
	CVV oVV8,
	CVV oVV9
)

Parameters

oVV1
Type: GeoEngine.Core.GXNetCVV
[i] data VV
oVV2
Type: GeoEngine.Core.GXNetCVV
[i] X VV used to calculate distance
oVV3
Type: GeoEngine.Core.GXNetCVV
[i] Y VV used to calculate distance
d4
Type: SystemDouble
[i] minimum value to accept (0.0 to find all)
d5
Type: SystemDouble
[i] amplitude
oVV6
Type: GeoEngine.Core.GXNetCVV
[o] Indices with peak locations
oVV7
Type: GeoEngine.Core.GXNetCVV
[o] Amplitudes at the peaks
oVV8
Type: GeoEngine.Core.GXNetCVV
[o] Anomaly widths
oVV9
Type: GeoEngine.Core.GXNetCVV
[o] Anomaly half-amplitude widths
See Also