 | CSEMPLOTMineralID Method |
Identify minerals from the oxide channels.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void MineralID(
CDB db,
double resid,
int min_ch,
int res_ch
)
public static void MineralID(
CDB db,
double resid,
int min_ch,
int res_ch
)
Public Shared Sub MineralID (
db As CDB,
resid As Double,
min_ch As Integer,
res_ch As Integer
)
Public Shared Sub MineralID (
db As CDB,
resid As Double,
min_ch As Integer,
res_ch As Integer
)
public:
static void MineralID(
CDB^ db,
double resid,
int min_ch,
int res_ch
)
public:
static void MineralID(
CDB^ db,
double resid,
int min_ch,
int res_ch
)
static member MineralID :
db : CDB *
resid : float *
min_ch : int *
res_ch : int -> unit
static member MineralID :
db : CDB *
resid : float *
min_ch : int *
res_ch : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - resid
- Type: SystemDouble
Maximum residual value (in % of the total oxide) - min_ch
- Type: SystemInt32
Mineral channel (Locked RW) - res_ch
- Type: SystemInt32
Residual channel (Locked RW)
Remarks
Finds the best mineral matching the composition for each
row of oxide values. Works using linear programming and
the simplex method to maximize the oxides used to create
each of the possible output minerals. The mineral leaving the
least leftover is selected, as long as the residual (measured
as a percent of the total) is less than or equal to the
input value.
See Also