gempy.map_stack_to_surfaces

gempy.map_stack_to_surfaces(gempy_model: GeoModel, mapping_object: dict[str, list[str]] | dict[str, tuple], set_series: bool = True, remove_unused_series=True, series_data: list | None = None) StructuralFrame[source]

Map stack (series) to surfaces by reorganizing elements between groups in a GeoModel’s structural frame.

This function reorganizes structural elements (surfaces) based on a mapping object and updates the structural frame of the GeoModel. It can also create new series and remove unused ones.

Parameters:
  • gempy_model (GeoModel) – The GeoModel object whose structural frame is to be modified.

  • mapping_object (Union[dict[str, list[str]] | dict[str, tuple]]) – Dictionary mapping group names to element names.

  • set_series (bool, optional) – If True, creates new series for groups not present in the GeoModel. Defaults to True.

  • remove_unused_series (bool, optional) – If True, removes groups without any elements. Defaults to True.

  • series_data (list, optional) – List of series data from JSON containing structural relations. Defaults to None.

Returns:

The updated StructuralFrame object.

Return type:

StructuralFrame

Examples using gempy.map_stack_to_surfaces

1.1 -Basics of geological modeling with GemPy

1.1 -Basics of geological modeling with GemPy

1.3b: 2-D sections

1.3b: 2-D sections

1.6: 2D Visualization.

1.6: 2D Visualization.

2.1 Forward Gravity: Simple example

2.1 Forward Gravity: Simple example

3.1: Simple example of kriging in gempy

3.1: Simple example of kriging in gempy

Chapter 4: Analyzing Geomodel Topology

Chapter 4: Analyzing Geomodel Topology

Video Tutorial “code-along”: Modeling step by step

Video Tutorial "code-along": Modeling step by step

Video Tutorial “code-along”: Faults

Video Tutorial "code-along": Faults

Model 1 - Horizontal Stratigraphy

Model 1 - Horizontal Stratigraphy

Model 2 - Anticline

Model 2 - Anticline

Model 3 - Recumbent Fold

Model 3 - Recumbent Fold

Model 4 - Pinchout

Model 4 - Pinchout

Model 5 - Fault

Model 5 - Fault

Model 6 - Unconformity

Model 6 - Unconformity

Model 7 - Combination

Model 7 - Combination

GemPy Models - Some More Complex Examples

GemPy Models - Some More Complex Examples

Model of Ales, France: Plotting Sections and Maps

Model of Ales, France: Plotting Sections and Maps

Geomodeling benchmark: the “Claudius”-Model

Geomodeling benchmark: the "Claudius"-Model

Greenstone.

Greenstone.

Geomodeling benchmark: the “Hecho”-Model

Geomodeling benchmark: the "Hecho"-Model

A geological model of the Perth basin, Australia

A geological model of the Perth basin, Australia