 | CRPSLiveTimeCorrectionAcqValue Method |
Apply the Live-time correction to a channel for a line in a database, using a constant acquisition time value
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2026.1.0.24
Syntaxpublic static void LiveTimeCorrectionAcqValue(
CGXNETCore gxNetShared,
CDB db,
int line,
string raw_channel,
string livetime_channel,
double acqtime_constant_value,
string livetime_corr_channel
)
public static void LiveTimeCorrectionAcqValue(
CGXNETCore gxNetShared,
CDB db,
int line,
string raw_channel,
string livetime_channel,
double acqtime_constant_value,
string livetime_corr_channel
)
Public Shared Sub LiveTimeCorrectionAcqValue (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
livetime_channel As String,
acqtime_constant_value As Double,
livetime_corr_channel As String
)
Public Shared Sub LiveTimeCorrectionAcqValue (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_channel As String,
livetime_channel As String,
acqtime_constant_value As Double,
livetime_corr_channel As String
)
public:
static void LiveTimeCorrectionAcqValue(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ raw_channel,
String^ livetime_channel,
double acqtime_constant_value,
String^ livetime_corr_channel
)
public:
static void LiveTimeCorrectionAcqValue(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
String^ raw_channel,
String^ livetime_channel,
double acqtime_constant_value,
String^ livetime_corr_channel
)
static member LiveTimeCorrectionAcqValue :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
livetime_channel : string *
acqtime_constant_value : float *
livetime_corr_channel : string -> unit
static member LiveTimeCorrectionAcqValue :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_channel : string *
livetime_channel : string *
acqtime_constant_value : float *
livetime_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 - livetime_channel
- Type: SystemString
Live time channel name (same units as acqtime_constant_value) - acqtime_constant_value
- Type: SystemDouble
Acquisition time constant value (same units as livetime_channel) - livetime_corr_channel
- Type: SystemString
Output livetime corrected channel name
Remarks
The output live-time corrected channel is calculated using the formula:
livetime_corrected_value = acq_time_value * raw_value / livetime_value
where:
livetime_corrected_value = output live-time corrected value
acq_time_value = input acquisition-time constant value (same units as the live time value)
raw_value = raw channel value (counts)
livetime_value = live time channel value (same units as the acquisition time value)
See Also