gempy.map_series_to_surfaces

gempy.map_series_to_surfaces(geo_model: gempy.core.model.Project, mapping_object: Union[dict, pandas.core.arrays.categorical.Categorical] = None, set_series=True, sort_geometric_data: bool = True, remove_unused_series=True)[source]

Mapping which surfaces belongs to which geological feature

Parameters
  • geo_model (gempy.core.model.Project) – [s0] Container class of all objects that constitute a GemPy model.

  • mapping_object (dict, pandas.DataFrame) –

    • dict: keys are the series and values the surfaces belonging to that series

    • pn.DataFrame: Dataframe with surfaces as index and a column series with the correspondent series name of each surface

  • set_series (bool) – If True set missing series from the mapping object

  • sort_geometric_data (bool) – If True sort the geometric_data according to the new order of the stack

  • remove_unused_series (bool) –

Returns

gempy.core.data.Surfaces