Basic Utilities (geoana.utils)#

The geoana.utils module provides a set of rudimentary functions that are commonly used within the code base.

mkvc(x[, n_dims])

Creates a vector with specified dimensionality.

ndgrid(*args, **kwargs)

Form tensorial grid for 1, 2, or 3 dimensions.

check_xyz_dim(xyz[, dim, dtype])

Checks if the arguments are compatible with the expected dimensionality and type