 | CRPSRadioElementRatios Method |
Calculate radioelement ratios
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntaxpublic static void RadioElementRatios(
CGXNETCore gxNetShared,
CDB db,
int line,
string K_in,
string U_in,
string Th_in,
string uk_ratio,
string uth_ratio,
string thk_ratio
)
public static void RadioElementRatios(
CGXNETCore gxNetShared,
CDB db,
int line,
string K_in,
string U_in,
string Th_in,
string uk_ratio,
string uth_ratio,
string thk_ratio
)
Public Shared Sub RadioElementRatios (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
K_in As String,
U_in As String,
Th_in As String,
uk_ratio As String,
uth_ratio As String,
thk_ratio As String
)
Public Shared Sub RadioElementRatios (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
K_in As String,
U_in As String,
Th_in As String,
uk_ratio As String,
uth_ratio As String,
thk_ratio As String
)
public:
static void RadioElementRatios(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ K_in,
String^ U_in,
String^ Th_in,
String^ uk_ratio,
String^ uth_ratio,
String^ thk_ratio
)
public:
static void RadioElementRatios(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ K_in,
String^ U_in,
String^ Th_in,
String^ uk_ratio,
String^ uth_ratio,
String^ thk_ratio
)
static member RadioElementRatios :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
K_in : string *
U_in : string *
Th_in : string *
uk_ratio : string *
uth_ratio : string *
thk_ratio : string -> unit
static member RadioElementRatios :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
K_in : string *
U_in : string *
Th_in : string *
uk_ratio : string *
uth_ratio : string *
thk_ratio : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
DB Object - line
- Type: SystemInt32
Line to process (NULLSYMB for all selected lines) - K_in
- Type: SystemString
Input filtered Postassium channel - U_in
- Type: SystemString
Input filtered Uranium channel - Th_in
- Type: SystemString
Input filtered Thorium channel - uk_ratio
- Type: SystemString
Output Uranium/Potassium ratio channel name - uth_ratio
- Type: SystemString
Output Uranium/Thorium ratio channel name - thk_ratio
- Type: SystemString
Output Thorium/Potassium ratio channel name
Remarks
The conversions are calculated using the formulae:
OutputUKRatio = InputU /InputK
OutputUThRatio = InputU / InputTh
OutputThKRatio = InputTh /InputK
where:
InputK = Filtering Potassium
InputU = Filtering Uranium
InputTh = Filtering Thorium
Ref: See the RPSRATIO.GXC file for details and implementation of the algorithm.
See Also