geosoft.gxpy.vox

Geosoft voxel (voxset) handling.

Classes:

Vox

Geosoft voxel (voxset), subclass of geosoft.gxpy.spatialdata.SpatialData

Constants:
Z_ELEVATION:

0, z values are elevation

Z_DEPTH:

1, z values are depth

MODE_READ:

geosoft.gxpy.spatialdata.MODE_READ

MODE_READWRITE:

geosoft.gxpy.spatialdata.MODE_READWRITE

MODE_NEW:

geosoft.gxpy.spatialdata.MODE_NEW

INTERP_NEAREST:

geosoft.gxapi.VOXE_EVAL_NEAR

INTERP_LINEAR:

geosoft.gxapi.VOXE_EVAL_INTERP

INTERP_SMOOTH:

geosoft.gxapi.VOXE_EVAL_BEST

Note

Regression tests provide usage examples: Tests

New in version 9.3.1.

Functions

_t(s)

_vox_file_name(name[, vectorvoxel])

_vox_name(name)

delete_files(vox_name)

Delete all files associated with this vox name.

elevation_from_depth(depth_origin, depth_cells)

Return elevation origin and elevation cells sizes from a depth origin and depth cell-sizes

locations_from_cells(cells[, ref])

Return the cell center locations from an array of cell sizes.

Classes

Vox([name, gxvox, dtype, mode, overwrite])

Vox (voxset) class.

Exceptions

VoxException(message)

Exceptions from geosoft.gxpy.vox.