GXTRND class¶
-
class
GXTRND
(handle=0)[source]¶ 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)[source]¶ 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)[source]¶ 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
trnd (int) – TRND_NODE constants
New in version 5.0.
License: Geosoft End-User License
-
is_null
()[source]¶ 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)[source]¶ 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