GXTRND class¶
-
class
geosoft.gx.
GXTRND
¶ The TRND methods are used to determine trend directions in database data by locating maxima and minima along lines and joining them in a specified direction. The resulting trend lines are appended to the database and used by gridding methods such as Bigrid and Rangrid to enforce features in the specified direction.
-
static
get_max_min
((GXContext)ctx, (GXVV)arg1, (GXVV)arg2, (GXVV)arg3, (GXVV)arg4, (GXVV)arg5, (GXVV)arg6, (float)arg7, (int)arg8) → None:¶ Find the max/min nodes in a line.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.GXVV
) – X Channel - arg2 (
geosoft.gx.GXVV
) – Y Channel - arg3 (
geosoft.gx.GXVV
) – Data Channel - arg4 (
geosoft.gx.GXVV
) – X MaxMin (returned) - arg5 (
geosoft.gx.GXVV
) – Y MaxMin (returned) - arg6 (
geosoft.gx.GXVV
) – Data MaxMin (returned) - arg7 (float) – MaxMin Window
- arg8 (int) – TRND_NODE constants
Returns: Nothing
Return type: None
New in version 5.0.0.
Note:
Trend lines positions consist of X and Y VVs
- ctx (
-
static
get_mesh
((GXContext)ctx, (GXDB)arg1, (str)arg2, (float)arg3, (float)arg4, (GXVV)arg5, (int)arg6) → None:¶ Get the lines in a trend mesh.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.GXDB
) – Database - arg2 (str) – Selected channel
- arg3 (float) – MaxMin Window
- arg4 (float) – Maximum join length
- arg5 (
geosoft.gx.GXVV
) – VV of type GS_D2POINT (returned) - arg6 (int) – TRND_NODE constants
Returns: Nothing
Return type: None
New in version 5.0.0.
- ctx (
-
static
trnd_db
((GXContext)ctx, (GXDB)arg1, (str)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6, (float)arg7, (float)arg8, (float)arg9, (float)arg10) → None:¶ Uses a selected channel to find data trends in a database.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.GXDB
) – Database handle - arg2 (str) – Selected channel
- arg3 (float) – MaxMin Window
- arg4 (float) – Preferred angle, degrees CCW from X
- arg5 (float) – Allowed deviation
- arg6 (float) – Longest join
- arg7 (float) – Maximum deflection in join (can be rDUMMY)
- arg8 (float) – Minimum length for trend lines (can be rDUMMY)
- arg9 (float) – Resampling distance (can be rDUMMY)
- arg10 (float) – Breaking angle, degrees CCW from X (can be rDUMMY)
Returns: Nothing
Return type: None
New in version 5.0.0.
- ctx (
-
static