 | 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
Syntaxpublic 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
)
Public Shared Sub DeadTimeCorrection (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
raw_tc_channel As String,
deadtime_factor As Double,
deadtime_corr_channel As String
)
Public Shared Sub DeadTimeCorrection (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
raw_tc_channel As String,
deadtime_factor As Double,
deadtime_corr_channel As String
)
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
)
static member DeadTimeCorrection :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
raw_tc_channel : string *
deadtime_factor : float *
deadtime_corr_channel : string -> unit
static member DeadTimeCorrection :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
raw_tc_channel : string *
deadtime_factor : float *
deadtime_corr_channel : 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) - 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