 | CRPSDeadTimeCorrectionAcqChannel Method |
Apply the Dead-time correction to a channel for a line in a database, using an acquisition time channel.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2026.1.0.24
Syntaxpublic static void DeadTimeCorrectionAcqChannel(
CGXNETCore gxNetShared,
CDB db,
int line,
string raw_channel,
string deadtime_channel,
string acqtime_channel,
string deadtime_corr_channel
)
public static void DeadTimeCorrectionAcqChannel(
CGXNETCore gxNetShared,
CDB db,
int line,
string raw_channel,
string deadtime_channel,
string acqtime_channel,
string deadtime_corr_channel
)
Public Shared Sub DeadTimeCorrectionAcqChannel (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
deadtime_channel As String,
acqtime_channel As String,
deadtime_corr_channel As String
)
Public Shared Sub DeadTimeCorrectionAcqChannel (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
deadtime_channel As String,
acqtime_channel As String,
deadtime_corr_channel As String
)
public:
static void DeadTimeCorrectionAcqChannel(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ raw_channel,
String^ deadtime_channel,
String^ acqtime_channel,
String^ deadtime_corr_channel
)
public:
static void DeadTimeCorrectionAcqChannel(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ raw_channel,
String^ deadtime_channel,
String^ acqtime_channel,
String^ deadtime_corr_channel
)
static member DeadTimeCorrectionAcqChannel :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
deadtime_channel : string *
acqtime_channel : string *
deadtime_corr_channel : string -> unit
static member DeadTimeCorrectionAcqChannel :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
deadtime_channel : string *
acqtime_channel : string *
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 - deadtime_channel
- Type: SystemString
Dead time channel name (same units as the acquisition time channel) - acqtime_channel
- Type: SystemString
Acquisition dead channel name (same units as the dead time channel) - deadtime_corr_channel
- Type: SystemString
Output deadtime corrected channel name
Remarks
The output dead-time corrected channel is calculated using the formula:
deadtime_corrected_value = raw_value * (acq_time_value / (acq_time_value - deadtime_value))
where:
deadtime_corrected_value = output dead-time corrected value
raw_value = raw channel value (counts)
acq_time_value = input acquisition-time channel value (same units as the dead time value)
deadtime_value = dead time channel value (same units as the acquisition time value)
Ref: See the RPSFILT.GXC file for details and implementation of the algorithm.
See Also