GXIEXP class

class geosoft.gx.GXIEXP
The IEXP class is similar to the EXP class, but is used
to apply math expressions to grids (IMG objects).
add_grid((GXIMG)arg1, (str)arg2) → None:
This method adds an image to the IEXP object with a
variable name.
Parameters:
Returns:

Nothing

Return type:

None

New in version 5.0.0.

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

New in version 5.0.0.

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

Nothing

Return type:

None

New in version 5.0.0.

is_null() → bool

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

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

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

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