Click or drag to resize

CDUReFid Method

Re-fid a channel based on a reference channel

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void ReFid(
	CDB db,
	int line,
	int in_ch,
	int ref_ch,
	int out_ch,
	int mode,
	double start,
	double incr,
	double gap
)

public static void ReFid(
	CDB db,
	int line,
	int in_ch,
	int ref_ch,
	int out_ch,
	int mode,
	double start,
	double incr,
	double gap
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database Object
line
Type: SystemInt32
Line Symbol
in_ch
Type: SystemInt32
Original Channel [<define>DB_LOCK_READONLY</define>] "Y" values
ref_ch
Type: SystemInt32
Reference Channel [<define>DB_LOCK_READONLY</define>] "X" locations
out_ch
Type: SystemInt32
Output Channel [<define>DB_LOCK_READWRITE</define>]
mode
Type: SystemInt32
<define>DU_REFID</define>
start
Type: SystemDouble
Start Fid, if <define>GS_R8DM</define>, use ref channel minimum
incr
Type: SystemDouble
Fid increment, if <define>GS_R8DM</define> use nominal spacing of the reference channel.
gap
Type: SystemDouble
Maximum gap to interpolate across
Remarks
The original channel can be an array channel, in which case the columns (up to the number of columns available in the output) are individually interpolated. If the number of columns in the output channel is more than the input channel, the remaining columns are dummied. This function is fundamentally different in behaviour from ReFidCh_DU. The values in the Reference channel in ReFid_DU are the "X" locations corresponding to the "Y" locations in the "Original Channel". Output Channel values are calculated at the new "X" locations specified by the Start Fid and the Fid Increment.
See Also