GXIEXP class

class geosoft.gxapi.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() → GXIEXP:
This method creates an IEXP object.
Returns:IEXP Object
Return type:geosoft.gxapi.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.gxapi.GXIEXP is null (undefined)

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

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

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