![](../icons/Help.png) | CSEMPLOTMineralID Method |
Identify minerals from the oxide channels.
Available since Oasis montaj version: 6.3
License: Available to specially licensed modules.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntaxpublic static void MineralID(
CGXNETCore gxNetShared,
CDB db,
double resid,
int min_ch,
int res_ch
)
Public Shared Sub MineralID (
gxNetShared As CGXNETCore,
db As CDB,
resid As Double,
min_ch As Integer,
res_ch As Integer
)
public:
static void MineralID(
CGXNETCore^ gxNetShared,
CDB^ db,
double resid,
int min_ch,
int res_ch
)
static member MineralID :
gxNetShared : CGXNETCore *
db : CDB *
resid : float *
min_ch : int *
res_ch : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
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)
See Also