GXTRND class¶
-
class
GXTRND
(handle=0)¶ GXTRND class.
The
GXTRND
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.-
classmethod
get_max_min
(vv_x, vv_y, vv_z, vv_xm, v_vym, v_vzm, window, trnd)¶ Find the max/min nodes in a line.
Parameters: New in version 5.0.
License: Geosoft End-User License
Note: Trend lines positions consist of X and Y VVs
-
classmethod
get_mesh
(db, chan, window, max_length, mesh_vv, trnd)¶ Get the lines in a trend mesh.
Parameters: - db (GXDB) – Database
- chan (str) – Selected channel
- window (float) – MaxMin Window
- max_length (float) – Maximum join length
- mesh_vv (GXVV) –
GXVV
of type GS_D2POINT (returned) - trnd (int) – TRND_NODE constants
New in version 5.0.
License: Geosoft End-User License
-
is_null
()¶ Check if this is a null (undefined) instance
Returns: True if this is a null (undefined) instance, False otherwise. Return type: bool
-
classmethod
trnd_db
(db, chan, window, angle, deviation, max_length, deflection, min_length, resample, br_angle)¶ Uses a selected channel to find data trends in a database.
Parameters: - db (GXDB) – Database handle
- chan (str) – Selected channel
- window (float) – MaxMin Window
- angle (float) – Preferred angle, degrees CCW from X
- deviation (float) – Allowed deviation
- max_length (float) – Longest join
- deflection (float) – Maximum deflection in join (can be
rDUMMY
) - min_length (float) – Minimum length for trend lines (can be
rDUMMY
) - resample (float) – Resampling distance (can be
rDUMMY
) - br_angle (float) – Breaking angle, degrees CCW from X (can be
rDUMMY
)
New in version 5.0.
License: Geosoft End-User License
-
classmethod