 | CRPSComptonStripping Method |
Perform Compton Stripping
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntaxpublic static void ComptonStripping(
CGXNETCore gxNetShared,
CDB db,
int line,
string stp_alt_channel,
string K_levl,
string U_levl,
string Th_levl,
double alpha,
double beta,
double gamma,
double a,
double b,
double g,
string k_strip,
string u_strip,
string th_strip
)
public static void ComptonStripping(
CGXNETCore gxNetShared,
CDB db,
int line,
string stp_alt_channel,
string K_levl,
string U_levl,
string Th_levl,
double alpha,
double beta,
double gamma,
double a,
double b,
double g,
string k_strip,
string u_strip,
string th_strip
)
Public Shared Sub ComptonStripping (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
stp_alt_channel As String,
K_levl As String,
U_levl As String,
Th_levl As String,
alpha As Double,
beta As Double,
gamma As Double,
a As Double,
b As Double,
g As Double,
k_strip As String,
u_strip As String,
th_strip As String
)
Public Shared Sub ComptonStripping (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
stp_alt_channel As String,
K_levl As String,
U_levl As String,
Th_levl As String,
alpha As Double,
beta As Double,
gamma As Double,
a As Double,
b As Double,
g As Double,
k_strip As String,
u_strip As String,
th_strip As String
)
public:
static void ComptonStripping(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ stp_alt_channel,
String^ K_levl,
String^ U_levl,
String^ Th_levl,
double alpha,
double beta,
double gamma,
double a,
double b,
double g,
String^ k_strip,
String^ u_strip,
String^ th_strip
)
public:
static void ComptonStripping(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ stp_alt_channel,
String^ K_levl,
String^ U_levl,
String^ Th_levl,
double alpha,
double beta,
double gamma,
double a,
double b,
double g,
String^ k_strip,
String^ u_strip,
String^ th_strip
)
static member ComptonStripping :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
stp_alt_channel : string *
K_levl : string *
U_levl : string *
Th_levl : string *
alpha : float *
beta : float *
gamma : float *
a : float *
b : float *
g : float *
k_strip : string *
u_strip : string *
th_strip : string -> unit
static member ComptonStripping :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
stp_alt_channel : string *
K_levl : string *
U_levl : string *
Th_levl : string *
alpha : float *
beta : float *
gamma : float *
a : float *
b : float *
g : float *
k_strip : string *
u_strip : string *
th_strip : 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) - stp_alt_channel
- Type: SystemString
Input STP corrected altimeter channel name - K_levl
- Type: SystemString
Input Postassium levelelled count channel - U_levl
- Type: SystemString
Input Uranium levelelled count channel - Th_levl
- Type: SystemString
Input Thorium levelelled count channel - alpha
- Type: SystemDouble
Input Compton Stripping ratio alpha (default: 0.24) - beta
- Type: SystemDouble
Input Compton Stripping ratio beta (default: 0.37) - gamma
- Type: SystemDouble
Input Compton Stripping ratio gamma (default: 0.70) - a
- Type: SystemDouble
Input Compton Stripping ratio a (default: 0.05) - b
- Type: SystemDouble
Input Compton Stripping ratio b (default: 0.0) - g
- Type: SystemDouble
Input Compton Stripping ratio g (default: 0.0) - k_strip
- Type: SystemString
Output Compton Stripped Potassium channel (can be same channel as input) - u_strip
- Type: SystemString
Output Compton Stripped Uranium channel (can be same channel as input) - th_strip
- Type: SystemString
Output Compton Stripped Thorium channel (can be same channel as input)
Remarks
Compton stripping is calculated using the formula:
KSTRIP = (BK*THLEVL + CK*ULEVL + DK*KLEVL) / A
USTRIP = (BU*THLEVL + CU*ULEVL + DU*KLEVL) / A
THSTRIP = (BTH*THLEVL + CTH*ULEVL + DTH*KLEVL) / A
where
KSTRIP = Output Compton stripped potassium (can be same channel as input)
USTRIP = Output Compton stripped uranium (can be same channel as input)
THSTRIP = Output Compton stripped thorium (can be same channel as input)
and where:
KLEVL = Input potassium levelled count channel (e.g. "KLEVL")
ULEVL = Input uranium levelled count channel (e.g. "ULEVL")
THLEVL = Input thorium levelled count channel (e.g. "THLEVL")
BK = ALPHA2*GAMMA2-BETA2;
CK = ASTRIP*BETA2-GAMMA2;
DK = 1-ASTRIP*ALPHA2;
BU = GSTRIP*BETA-ALPHA
CU = 1-BSTRIP*BETA
DU = BSTRIP*ALPHA-GSTRIP
BTH = 1-GSTRIP*GAMMA2;
CTH = BSTRIP*GAMMA2-ASTRIP;
DTH = ASTRIP*GSTRIP-BSTRIP;
where:
ALPHA2 = ALPHA + 0.0004895*RALTSTP
BETA2 = BETA + 0.0006469*RALTSTP
GAMMA2 = GAMMA + 0.0006874*RALTSTP
and:
RALTSTP = Input STP corrected radar altimeter channel value (m)
ALPHA = Input Compton stripping alpha factor (default: 0.24)
BETA = Input Compton stripping beta factor (default: 0.37)
GAMMA = Input Compton stripping gamma factor (default: 0.70)
ASTRIP = Input Compton stripping a factor (default: 0.05)
BSTRIP = Input Compton stripping b factor (default: 0.0)
GSTRIP = Input Compton stripping g factor (default: 0.0)
and where:
A = 1-GSTRIP*GAMMA2 - ASTRIP*(ALPHA2 - GSTRIP*BETA2) -
BSTRIP*(BETA2-ALPHA2*GAMMA2)
Ref: See the RPSCORR.GXC file for details and implementation of the algorithm.
See Also