GXIEXP class¶
-
class
GXIEXP
(handle=0)¶ GXIEXP class.
The
GXIEXP
class is similar to theGXEXP
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
ObjectReturn 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
-