GXTR class

class geosoft.gx.GXTR
The TR object contains trend information about a grid or
grid pager. Currently, it is used only in conjunction with
the geosoft.gx.GXIMG.get_tr(), geosoft.gx.GXIMG.set_tr(), and geosoft.gx.GXPGU.trend() functions.
copy((GXTR)arg1) → None:
This method copies a table resource to another trend table resource.
Parameters:arg1 (geosoft.gx.GXTR) – Source Trend Object to Copy
Returns:Nothing
Return type:None

New in version 8.1.0.

static create((GXContext)ctx, (int)arg1) → GXTR:
Creates a Trend object
Parameters:
  • ctx (geosoft.gx.GXContext) – The GX execution context
  • arg1 (int) – Trend order (must >=0 and <=3)
Returns:

TR Object

Return type:

geosoft.gx.GXTR

New in version 5.0.0.

is_null() → bool

Check if the instance of geosoft.gx.GXTR is null (undefined)

Returns:True if this is a null instance of geosoft.gx.GXTR, False otherwise.
Return type:bool`
static null() → GXTR

A null (undefined) instance of geosoft.gx.GXTR

Returns:A null geosoft.gx.GXTR
Return type:geosoft.gx.GXTR