gempy.core.grid_modules.grid_types.CustomGrid¶
-
class
gempy.core.grid_modules.grid_types.
CustomGrid
(custom_grid: numpy.ndarray)[source]¶ Object that contains arbitrary XYZ coordinates.
- Parameters
custom_grid (numpy.ndarray like) – XYZ (in columns) of the desired coordinates
-
values
¶ XYZ coordinates
- Type
np.ndarray
Examples using CustomGrid
Methods
__init__
(custom_grid)Initialize self.
set_custom_grid
(custom_grid)Give the coordinates of an external generated grid
-
__init__
(custom_grid: numpy.ndarray)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
set_custom_grid
(custom_grid: numpy.ndarray)[source]¶ Give the coordinates of an external generated grid
- Parameters
custom_grid (numpy.ndarray like) – XYZ (in columns) of the desired coordinates
- Returns
- Unraveled 3D numpy array where every row correspond to the xyz coordinates of a regular
grid
- Return type