gempy.core.grid_modules.topography.Topography¶
-
class
gempy.core.grid_modules.topography.
Topography
(regular_grid=None, regular_grid_extent=None, regular_grid_resolution=None)[source]¶ Object to include topography in the model.
Notes
This always assumes that the topography we pass fits perfectly the extent
Examples using Topography
Methods
__init__
([regular_grid, …])Initialize self.
crop_topography
(extent)Crop the topography to a given extent.
load
(path)load_from_gdal
(filepath)load_from_saved
(*args, **kwargs)load_random_hills
(**kwargs)resize_topo
()save
(path)set_values
(values_2d)General method to set topography
Attributes
x
y
-
__init__
(regular_grid=None, regular_grid_extent=None, regular_grid_resolution=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
set_values
(values_2d: numpy.ndarray)[source]¶ General method to set topography
- Parameters
values_2d (numpy.ndarray[float,float, 3]) – array with the XYZ values in 2D
- Returns
-