geosoft.gxpy.grid_utility

Geosoft grid and image utilities.

Note

Regression tests provide usage examples: Tests

Functions

_t(s)

calculate_slope_standard_deviation(grid)

Return the standard deviation of the slopes.

contour_points(grid, value[, max_segments, ...])

Return a set of point segments that represent the spatial locations of contours threaded through the grid.

derivative(grid, derivative_type[, ...])

Return a derivative of a grid or a tilt-angle

expression(grids, expr[, result_file_name, ...])

Apply an expressing to grids.

feather(grid, width[, edge_value, ...])

Feather the edge of a grid to a constant value at the edge.

flood(grid[, file_name, overwrite, ...])

Flood blank areas in a grid based on a minimum-curvature surface.

grid_bool(g1, g2[, joined_grid, opt, size, olap])

Combine two grids into a single grid, with boolean logic to determine the result.

grid_mosaic(mosaic, grid_list[, type_decorate])

Combine a set of grids into a single grid.

remove_trend(grid[, file_name, method, ...])

Calculate a polynomial trend surface and return trend-removed grid.

sample(grid, xyz)

Return grid values sampled at the point locations.

tilt_depth(grid[, resolution, return_as, ...])

Return estimate of the depth sources of potential filed anomalies.

Exceptions

GridUtilityException(message)

Exceptions from geosoft.gxpy.grid_utility.