![](../icons/Help.png) | CDUReFid Method |
Re-fid a channel based on a reference channel
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntaxpublic static void ReFid(
CGXNETCore gxNetShared,
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 (
gxNetShared As CGXNETCore,
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(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int in_ch,
int ref_ch,
int out_ch,
int mode,
double start,
double incr,
double gap
)
static member ReFid :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
in_ch : int *
ref_ch : int *
out_ch : int *
mode : int *
start : float *
incr : float *
gap : float -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
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
See Also