gempy.create_geomodel(*, project_name: str = 'default_project', extent: list | ndarray | None = None, resolution: list | ndarray | None = None, refinement: int = 1, structural_frame: StructuralFrame | None = None, importer_helper: ImporterHelper | None = None) GeoModel[source]

Creates a GeoModel instance.

This function initializes a GeoModel object, including its grid and interpolation options.

  • project_name (str, optional) – The name of the project. Defaults to ‘default_project’.

  • extent (Union[list, ndarray], optional) – The 3D extent of the grid. Defaults to None.

  • resolution (Union[list, ndarray], optional) – The resolution of the grid. Defaults to None.

  • refinement (int, optional) – Defaults to 1.

  • structural_frame (StructuralFrame, optional) – The structural frame of the GeoModel. Defaults to None.

  • importer_helper (ImporterHelper, optional) – Helper object to import structural elements. Defaults to None.


The initialized GeoModel object.

Return type:


Examples using gempy.create_geomodel

1.4: Unconformity relationships

1.4: Unconformity relationships

Modeling step by step

Modeling step by step