Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
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
)

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