GXIEXP class

class GXIEXP(handle=0)

GXIEXP class.

The GXIEXP class is similar to the GXEXP class, but is used to apply math expressions to grids (GXIMG objects).

add_grid(img, var)

This method adds an image to the GXIEXP object with a variable name.

Parameters:
  • img (GXIMG) – Image to add
  • var (str) – Variable name

New in version 5.0.

License: Geosoft End-User License

classmethod create()

This method creates an GXIEXP object.

Returns:GXIEXP Object
Return type:GXIEXP

New in version 5.0.

License: Geosoft End-User License

do_formula(formula, max_len)

This method runs a formula on the grids.

Parameters:
  • formula (str) – Formula
  • max_len (int) – Max. Buff size

New in version 5.0.

License: Geosoft End-User License

is_null()

Check if this is a null (undefined) instance

Returns:True if this is a null (undefined) instance, False otherwise.
Return type:bool
classmethod null()

A null (undefined) instance of GXIEXP

Returns:A null GXIEXP
Return type:GXIEXP