Click or drag to resize

CRPSRadonUpwardRemovalCalculate Method

Calculate the Radon Background to remove using the 'upward' method

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2026.1.0.24
Syntax
public static void RadonUpwardRemovalCalculate(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string U_filt,
	string Th_filt,
	string U_upward_filt,
	double skyshine_A1,
	double skyshine_A2,
	double ak,
	double ath,
	double au,
	double atc,
	double bk,
	double bu,
	double bth,
	double btc,
	string K_back,
	string U_back,
	string Th_back,
	string TC_back,
	string U_upward_back
)

public static void RadonUpwardRemovalCalculate(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string U_filt,
	string Th_filt,
	string U_upward_filt,
	double skyshine_A1,
	double skyshine_A2,
	double ak,
	double ath,
	double au,
	double atc,
	double bk,
	double bu,
	double bth,
	double btc,
	string K_back,
	string U_back,
	string Th_back,
	string TC_back,
	string U_upward_back
)

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)
U_filt
Type: SystemString
Input Low-pass filtered uranium channel
Th_filt
Type: SystemString
Input Low-pass filtered thorium channel
U_upward_filt
Type: SystemString
Input Low-pass filtered upward uranium channel
skyshine_A1
Type: SystemDouble
Input Skyshine coefficient A1
skyshine_A2
Type: SystemDouble
Input Skyshine coefficient A2
ak
Type: SystemDouble
Input calibration factor ak - potassium
ath
Type: SystemDouble
Input calibration factor ath - thorium
au
Type: SystemDouble
Input calibration factor au - uranium
atc
Type: SystemDouble
Input calibration factor atc - total count
bk
Type: SystemDouble
Input calibration factor bk - potassium
bu
Type: SystemDouble
Input calibration factor bu - uranium
bth
Type: SystemDouble
Input calibration factor bth - thorium
btc
Type: SystemDouble
Input calibration factor btc - total count
K_back
Type: SystemString
Output potassium background to remove (channel)
U_back
Type: SystemString
Output uranium background to remove (channel)
Th_back
Type: SystemString
Output thorium channel background to remove (channel)
TC_back
Type: SystemString
Output total count background to remove (channel)
U_upward_back
Type: SystemString
Output upward uranium background to remove (channel)
Remarks
The Upward method of radon-removal is applied to the low-pass filtered data, using the formula: KRADREF = AK * URADREF + BK Output potassium background to remove (channel) THRADREF = ATH * URADREF + BTH Output thorium background to remove (channel) TCRADREF = ATC * URADREF + BTC Output total count background to remove (channel) UPURADREF = AU * URADREF + BU Output upward uranium background to remove (channel) where: AK = Input calibration factor ak BK = Input calibration factor bk ATH = Input calibration factor at BTH = Input calibration factor bt ATC = Input calibration factor atc BTC = Input calibration factor btc AU = Input calibration factor au BU = Input calibration factor bu and: URADREF = Output uranium background to remove (channel) where URADREF = (UPUFILT - A1*UFILT - A2*THFILT + A2*BTH - BU)/ (AU-A1 - A2*ATH) THFILT = Input Low-pass filtered thorium channel UFILT = Input Low-pass filtered uranium channel UPUFILT = Input Low-pass filtered upward uranium channel and A1 = Input Skyshine coefficient A1 A2 = Input Skyshine coefficient A2 Ref: See the RPSLEVLU.GXC file for details and implementation of the algorithm.
See Also