 | 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
Syntaxpublic 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
)
Public Shared Sub ReFid (
db As CDB,
line As Integer,
in_ch As Integer,
ref_ch As Integer,
out_ch As Integer,
mode As Integer,
start As Double,
incr As Double,
gap As Double
)
Public Shared Sub ReFid (
db As CDB,
line As Integer,
in_ch As Integer,
ref_ch As Integer,
out_ch As Integer,
mode As Integer,
start As Double,
incr As Double,
gap As Double
)
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
)
static member ReFid :
db : CDB *
line : int *
in_ch : int *
ref_ch : int *
out_ch : int *
mode : int *
start : float *
incr : float *
gap : float -> unit
static member ReFid :
db : CDB *
line : int *
in_ch : int *
ref_ch : int *
out_ch : int *
mode : int *
start : float *
incr : float *
gap : float -> unit
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