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: 2025.2.0.42
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 (default: 0.036)
skyshine_A2
Type: SystemDouble
Input Skyshine coefficient A2 (default: 0.022)
ak
Type: SystemDouble
Input calibration factor ak - potassium (default: 0.8)
ath
Type: SystemDouble
Input calibration factor ath - thorium (default: 0.1)
au
Type: SystemDouble
Input calibration factor au - uranium (default: 0.25)
atc
Type: SystemDouble
Input calibration factor atc - total count (default: 12)
bk
Type: SystemDouble
Input calibration factor bk - potassium (default: 0)
bu
Type: SystemDouble
Input calibration factor bu - uranium (default: 0)
bth
Type: SystemDouble
Input calibration factor bth - thorium (default: 0)
btc
Type: SystemDouble
Input calibration factor btc - total count (default: 0)
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 (default: 0.8) BK = Input calibration factor bk (default: 0) ATH = Input calibration factor at (default: 0.1) BTH = Input calibration factor bt (default: 0) ATC = Input calibration factor atc (default: 12) BTC = Input calibration factor btc (default: 0) AU = Input calibration factor au (default: 0.25) BU = Input calibration factor bu (default: 0) and: URADREF = Output uranium background to remove (channel) where URADREF = (UPUFILT - A1*UFILT - A2*THFILT + A2*BT - BU)/ (AU-A1 - A2*AT) 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 (default: 0.036) A2 = Input Skyshine coefficient A2 (default: 0.022) Ref: See the RPSLEVLU.GXC file for details and implementation of the algorithm.
See Also