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:
Returns:

Nothing

Return type:

None

New in version 5.0.0.

Note:

Trend lines positions consist of X and Y VVs
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:
Returns:

Nothing

Return type:

None

New in version 5.0.0.

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.

TRND_NODE constants

Node to find
gx.TRND_MIN = 0
gx.TRND_MAX = 1