gempy.core.data.GeoModel¶
- class gempy.core.data.GeoModel(name: str, structural_frame: StructuralFrame, grid: Grid, interpolation_options: InterpolationOptions)[source]¶
Class representing a geological model.
Examples using
gempy.core.data.GeoModel
¶2.2 - Including GemPyMethods
__init__
(name, structural_frame, grid, ...)add_surface_points
(X, Y, Z, surface[, nugget])update_transform
([auto_anisotropy, ...])Update the transformation of the geological model.
Attributes
extent_transformed_transformed_by_input
The geophysics input of the geological model.
input_data_descriptor
The transformation used in the geological model for input points.
Optional grid used for interpolation.
interpolation_input_copy
interpolation_options
Legacy model (if available).
orientations
This is a copy! Returns a OrientationsTable for all orientations across the structural elements
orientations_copy_transformed
project_bounds
regular_grid_coordinates
regular_grid_coordinates_transformed
solutions
surface_points
This is a copy! Returns a SurfacePointsTable for all surface points across the structural elements
surface_points_copy_transformed
Meta-information about the geological model, like its name, creation and modification dates, and owner.
The structural information of the geological model.
The general grid used in the geological model.
- geophysics_input: GeophysicsInput = None¶
The geophysics input of the geological model.
- interpolation_grid: EngineGrid = None¶
Optional grid used for interpolation. Can be seen as a cache field.
- legacy_model: gpl.Project = None¶
Legacy model (if available). Allows for backward compatibility.
- __init__(name: str, structural_frame: StructuralFrame, grid: Grid, interpolation_options: InterpolationOptions)[source]¶
- meta: GeoModelMeta¶
Meta-information about the geological model, like its name, creation and modification dates, and owner.
- structural_frame: StructuralFrame¶
The structural information of the geological model.
- input_transform: Transform = None¶
The transformation used in the geological model for input points.
- update_transform(auto_anisotropy: GlobalAnisotropy = GlobalAnisotropy.NONE, anisotropy_limit: ndarray | None = None)[source]¶
Update the transformation of the geological model.
This function updates the transformation of the geological model using the provided surface points and orientations. It also applies anisotropy based on the specified type and limit.
- Parameters:
auto_anisotropy (GlobalAnisotropy) – The type of anisotropy to apply. Defaults to GlobalAnisotropy.NONE.
anisotropy_limit (Optional[np.ndarray]) – Anisotropy limit values. If None, no limit is applied.
- property surface_points_copy¶
This is a copy! Returns a SurfacePointsTable for all surface points across the structural elements
- property orientations_copy: OrientationsTable¶
This is a copy! Returns a OrientationsTable for all orientations across the structural elements