GXPGEXP class

class geosoft.gx.GXPGEXP
The PGEXP class is similar to the EXP class, but is used
to apply math expressions to pagers (PG objects).

It works only on PGs of the same dimensions.
add_pager((GXPG)arg1, (str)arg2) → None:
This method adds an pager to the PGEXP object with a
variable name.
Parameters:
Returns:

Nothing

Return type:

None

New in version 7.1.0.

static create((GXContext)ctx) → GXPGEXP:
This method creates an PGEXP object.
Parameters:ctx (geosoft.gx.GXContext) – The GX execution context
Returns:PGEXP Object
Return type:geosoft.gx.GXPGEXP

New in version 7.1.0.

do_formula((str)arg1, (int)arg2) → None:
This method runs a formula on the pagers.
Parameters:
  • arg1 (str) – Formula
  • arg2 (int) – Max. Buff size
Returns:

Nothing

Return type:

None

New in version 7.1.0.

is_null() → bool

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

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

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

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