  | CVVUPickPeak3 Method  | 
 Find peaks in a VV - method two, returning width and half-amplitude widths.
 
    Namespace: 
   Geosoft.Desktop.GXNetX
    Assembly:
   geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic 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
)
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
)
Public Shared Sub PickPeak3 ( 
	gxNetShared As CGXNETCore,
	vv_i As CVV,
	vv_x As CVV,
	vv_y As CVV,
	pr_base_lvl As Double,
	pr_ampl As Double,
	v_vind As CVV,
	v_vamp As CVV,
	v_vwid As CVV,
	v_vhawid As CVV
)
Public Shared Sub PickPeak3 ( 
	gxNetShared As CGXNETCore,
	vv_i As CVV,
	vv_x As CVV,
	vv_y As CVV,
	pr_base_lvl As Double,
	pr_ampl As Double,
	v_vind As CVV,
	v_vamp As CVV,
	v_vwid As CVV,
	v_vhawid As CVV
)
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
)
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
)
static member PickPeak3 : 
        gxNetShared : CGXNETCore * 
        vv_i : CVV * 
        vv_x : CVV * 
        vv_y : CVV * 
        pr_base_lvl : float * 
        pr_ampl : float * 
        v_vind : CVV * 
        v_vamp : CVV * 
        v_vwid : CVV * 
        v_vhawid : CVV -> unit 
static member PickPeak3 : 
        gxNetShared : CGXNETCore * 
        vv_i : CVV * 
        vv_x : CVV * 
        vv_y : CVV * 
        pr_base_lvl : float * 
        pr_ampl : float * 
        v_vind : CVV * 
        v_vamp : CVV * 
        v_vwid : CVV * 
        v_vhawid : CVV -> unit 
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 
Remarks
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.
See Also