gemgis.visualization.create_depth_maps_from_gempy
gemgis.visualization.create_depth_maps_from_gempy#
- gemgis.visualization.create_depth_maps_from_gempy(geo_model, surfaces: Union[str, List[str]]) Dict[str, List[Union[pyvista.core.pointset.PolyData, numpy.ndarray, List[str]]]] #
Creating depth map of model surfaces, adapted from https://github.com/cgre-aachen/gempy/blob/20550fffdd1ccb3c6a9a402bc162e7eed3dd7352/gempy/plot/vista.py#L440-L477
- Parameters
geo_model (gp.core.model.Project) – Previously calculated GemPy Model
surfaces (Union[str, List[str]]) – Name of the surface or list with surface names of which the depth maps are created, e.g.
surfaces=['Layer1', 'Layer2']
- Returns
surfaces_poly – Dict containing the mesh data, depth data and color data for selected surfaces
- Return type
Dict[str, List[Union[pv.core.pointset.PolyData, np.ndarray, List[str]]]]
New in version 1.0.x.
Changed in version 1.1.8: Ensure compatibility with GemPy>=3
Example
>>> # Loading Libraries and creating depth map >>> import gemgis as gg >>> dict_sand1 = gg.visualization.create_depth_maps(geo_model=geo_model, surfaces='Sand1') >>> dict_sand1 {'Sand1': [PolyData (0x2dd0f46c820) N Cells: 4174 N Points: 2303 X Bounds: 9.720e+00, 9.623e+02 Y Bounds: 1.881e+02, 9.491e+02 Z Bounds: 3.050e+02, 7.250e+02 N Arrays: 1, '#015482']}
See also
create_depth_map
Creating depth map from PolyData dataset
create_thickness_maps
Creating thickness map from PolyData datasets
create_temperature_map
Creating temperature map from PolyData datasets