Click or drag to resize

CRPSDeadTimeCorrection Method

Apply the Dead-time correction to a channel for a line in a database

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntax
public static void DeadTimeCorrection(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_channel,
	string raw_tc_channel,
	double deadtime_factor,
	string deadtime_corr_channel
)

public static void DeadTimeCorrection(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_channel,
	string raw_tc_channel,
	double deadtime_factor,
	string deadtime_corr_channel
)

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)
raw_channel
Type: SystemString
Input raw channel name
raw_tc_channel
Type: SystemString
Input raw total count channel name
deadtime_factor
Type: SystemDouble
Dead time factor (microseconds/pulse
deadtime_corr_channel
Type: SystemString
Output deadtime corrected channel name
Remarks
The output dead-time corrected channel is calculated using the formula: deadtime_value = raw_value / (1 - raw_TC * dead_time * 0.000001) where: deadtime_value = output dead-time corrected value raw_value = raw channel value (counts) raw_TC = raw total count channel value dead_time = dead-time factor (microseconds/pulse) Ref: See the RPSFILT.GXC file for details and implementation of the algorithm.
See Also