![](../icons/Help.png) | CDUTimeConstant Method |
Calculate TEM time constant (Tau)
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
When DU_TIME_LOG option is used, Time channel will be converted
with logarithmic before calculating time constant.
Logarthmic conversion is always applied to the response channel.
Syntaxpublic static void TimeConstant(
CGXNETCore gxNetShared,
CDB db,
int line,
int resp_chan,
int time_chan,
int tau_chan,
int intercept_chan,
int fit_chan,
int log_opt
)
Public Shared Sub TimeConstant (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
resp_chan As Integer,
time_chan As Integer,
tau_chan As Integer,
intercept_chan As Integer,
fit_chan As Integer,
log_opt As Integer
)
public:
static void TimeConstant(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int resp_chan,
int time_chan,
int tau_chan,
int intercept_chan,
int fit_chan,
int log_opt
)
static member TimeConstant :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
resp_chan : int *
time_chan : int *
tau_chan : int *
intercept_chan : int *
fit_chan : int *
log_opt : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
Database, required - line
- Type: SystemInt32
Line Handle, required - resp_chan
- Type: SystemInt32
Response channel, required [<define>DB_LOCK_READONLY</define>] - time_chan
- Type: SystemInt32
Time channel, required [<define>DB_LOCK_READONLY</define>] - tau_chan
- Type: SystemInt32
Output Time constant (Tau) channel, required [<define>DB_LOCK_READWRITE</define>] - intercept_chan
- Type: SystemInt32
Output Intercept channel, no output if <define>NULLSYMB</define> [<define>DB_LOCK_READWRITE</define>] - fit_chan
- Type: SystemInt32
Output predicted response channel, no output if <define>NULLSYMB</define> [<define>DB_LOCK_READWRITE</define>] Result is based on least square fit from Tau and Intercept - log_opt
- Type: SystemInt32
Log option applied to time channel: 0 - linear, 1 - log10
See Also