Skip to content

Enumerations🍋

How to use Enums

Enums can be used in functions as python object (int, float or strings) or as GeoLime attribute.

For example

import geolime as geo
cov = geo.Spherical()
cov.plot(method=geo.VariographyMethod.SEMIVARIOGRAM))
is equivalent to
import geolime as geo
cov = geo.Spherical()
cov.plot(method="SEMIVARIOGRAM"))

AggregationMethod 🍋

Bases: str, Enum

Available methods for data aggregation.

AggregationMethod List

  • AggregationMethod.MIN "min"
  • AggregationMethod.MAX "max"
  • AggregationMethod.SUM "sum"
  • AggregationMethod.MEAN "mean"
  • AggregationMethod.FIRST "first"
  • AggregationMethod.MEDIAN "median"

AngleDirection 🍋

Bases: str, Enum

Angle directions.

AngleDirection List

  • VariographyMethod.CW "CW"
  • VariographyMethod.CCW "CCW"

AngleUnit 🍋

Bases: str, Enum

Angle units.

AngleUnit List

  • AngleUnit.DEG "DEGREE"
  • AngleUnit.RAD "RAD"

Attribute 🍋

Bases: str, Enum

Available attributes for mapping.

Attribute List

  • Attribute.X_COLLAR "X_COLLAR"
  • Attribute.Y_COLLAR "Y_COLLAR"
  • Attribute.Z_COLLAR "Z_COLLAR"
  • Attribute.X_B "X_B"
  • Attribute.Y_B "Y_B"
  • Attribute.Z_B "Z_B"
  • Attribute.X_M "X_M"
  • Attribute.Y_M "Y_M"
  • Attribute.Z_M "Z_M"
  • Attribute.X_E "X_E"
  • Attribute.Y_E "Y_E"
  • Attribute.Z_E "Z_E"
  • Attribute.DEPTH_SURVEY "DEPTH_SURVEY"
  • Attribute.FROM "FROM"
  • Attribute.TO "TO"
  • Attribute.HOLEID "HOLEID"
  • Attribute.AZIMUTH "AZIMUTH"
  • Attribute.DIP "DIP"
  • Attribute.GEOMETRY "geometry"

AttributeSupportType 🍋

Bases: str, Enum

Attribute support types.

AttributeSupportType List

  • AttributeSupportType.NODE "NODE"
  • AttributeSupportType.ELEMENT "ELEMENT"

Config 🍋

Bases: str, Enum

Configuration options used by GeoLime.

Config List

  • Config.COLORED_LOGS "COLORED_LOGS"

Coord 🍋

Bases: str, Enum

Available coordinates types.

Enum List

  • Coord.X "X"
  • Coord.Y "Y"
  • Coord.Z "Z"

  • Coord.U "U"

  • Coord.V "V"
  • Coord.W "W"

CovarianceType 🍋

Bases: int, Enum

Covariances types id, used in julia-python data transfer.

CovarianceType List

  • CovarianceType.SPHERICAL 0
  • CovarianceType.NUGGET 1
  • CovarianceType.EXPONENTIAL 2
  • CovarianceType.GAUSSIAN 3

DeclusteringGeometry 🍋

Bases: str, Enum

Method used for moving window declustering.

DeclusteringGeometry List

  • DeclusteringGeometry.BALL "BALL"
  • DeclusteringGeometry.PARALLELEPIPED "PARALLELEPIPED"

DesurveyingMethod 🍋

Bases: str, Enum

Desurveying Method

DesurveyingMethod List

  • DesurveyingMethod.MINIMUM_CURVATURE "MinimumCurvature"
  • DesurveyingMethod.TANGENTIAL "Tangential"
  • DesurveyingMethod.LINEAR "Linear"

DipDownward 🍋

Bases: str, Enum

Convention used for dip sign downward.

DipDownward List

  • DipDownward.POSITIVE "POSITIVE"
  • DipDownward.NEGATIVE "NEGATIVE"

DrillHolesSelectionMethod 🍋

Bases: str, Enum

Determine how to keep/delete drillholes based on condition.

DrillHolesSelectionMethod List

  • DrillHolesSelectionMethod.ANY "Any"
  • DrillHolesSelectionMethod.ALL "All"

DrillholesInterpolationMethod 🍋

Bases: str, Enum

Interpolation method available for drillholes contact filling from incomplete drillhole information.

DrillholesInterpolationMethod List

  • DrillholesInterpolationMethod.RBF "RBF"
  • DrillholesInterpolationMethod.NEAREST "NEAREST"

ExternalSurfaceInterpolationMethod 🍋

Bases: str, Enum

External (ie: Scipy) Interpolation method available for surface creation from drillholes.

ExternalSurfaceInterpolationMethod List

  • ExternalSurfaceInterpolationMethod.RBF "RBF"
  • ExternalSurfaceInterpolationMethod.NEAREST "NEAREST"

ExtrapolationMethod 🍋

Bases: str, Enum

Extrapolation method for functions out of bounds.

ExtrapolationMethod List

  • ExtrapolationMethod.CONSTANT "CONSTANT"
  • ExtrapolationMethod.NULL "NULL"

GeolimeSurfaceInterpolationMethod 🍋

Bases: str, Enum

GeoLime Interpolation method available for surface creation from drillholes.

GeolimeSurfaceInterpolationMethod List

  • GeolimeSurfaceInterpolationMethod.SIMPLE_KRIGING "SimpleKriging"
  • GeolimeSurfaceInterpolationMethod.ORDINARY_KRIGING "OrdinaryKriging"

GeostatsBackend 🍋

Bases: str, Enum

Backend used for geostatistical computation.

GeostatsBackend List

  • GeostatsBackend.PYTHON "python"
  • GeostatsBackend.JULIA "julia"

GridAxis 🍋

Bases: int, Enum

Integer values for axis along available dimensions.

GridAxis List

  • GridAxis.U 0
  • GridAxis.V 1
  • GridAxis.W 2

NumericalConstants 🍋

Bases: float, Enum

Global constants used in algorithms.

NumericalConstants List

  • NumericalConstants.GAUSSIAN_5_SIGMA 1e-7
  • NumericalConstants.NDV -99999

PropertyKind 🍋

Bases: str, Enum

Available property kind (see ObjectProperty class).

PropertyKind List

  • PropertyKind.USER_DEFINED "USER_DEFINED"
  • PropertyKind.GEOMETRY "GEOMETRY"
  • PropertyKind.INDEX "INDEX"
  • PropertyKind.LENGTH "LENGTH"
  • PropertyKind.HEIGHT "HEIGHT"
  • PropertyKind.GRADE "GRADE"
  • PropertyKind.ANGLE "ANGLE"
  • PropertyKind.LABEL "LABEL"

ScatterMethod 🍋

Bases: str, Enum

Scatter Method

ScatterMethod List

  • ScatterMethod.HISTOGRAM "Histogram"
  • ScatterMethod.DISTRIBUTION_CURVE "DistributionCurve"

SurfaceEstimationMethod 🍋

Bases: str, Enum

Method used for surface interpolation : elevation or thickness.

SurfaceEstimationMethod List

  • SurfaceEstimationMethod.ELEVATION "ELEVATION"
  • SurfaceEstimationMethod.THICKNESS "THICKNESS"

TopologicalElementIndex 🍋

Bases: str, Enum

Reserved names for topological node index property.

TopologicalElementIndex List

  • TopologicalElementIndex.V1 "__TOPO_ELEMENT_V1__"
  • TopologicalElementIndex.V2 "__TOPO_ELEMENT_V2__"
  • TopologicalElementIndex.V3 "__TOPO_ELEMENT_V3__"
  • TopologicalElementIndex.V4 "__TOPO_ELEMENT_V4__"
  • TopologicalElementIndex.V5 "__TOPO_ELEMENT_V5__"
  • TopologicalElementIndex.V6 "__TOPO_ELEMENT_V6__"
  • TopologicalElementIndex.V7 "__TOPO_ELEMENT_V7__"
  • TopologicalElementIndex.V8 "__TOPO_ELEMENT_V8__"

TopologicalElementType 🍋

Bases: int, Enum

Available element type for Topology (follow .msh convention).

TopologicalElementType List

  • TopologicalElementType.NDV -99999
  • TopologicalElementType.EDGE 1
  • TopologicalElementType.TRIANGLE 2
  • TopologicalElementType.QUAD 3
  • TopologicalElementType.TETRA 4
  • TopologicalElementType.HEX 5
  • TopologicalElementType.PRISM 6
  • TopologicalElementType.PYRAMID 7

TopologicalProperty 🍋

Bases: str, Enum

String reserved property name for topological properties.

TopologicalProperty List

  • TopologicalProperty.TYPE "__TOPO_TYPE__"
  • TopologicalProperty.LEVEL "__TOPO_LEVEL__"

UnitKind 🍋

Bases: str, Enum

Available units.

UnitKind List

  • UnitKind.USER_DEFINED "USER_DEFINED"
  • UnitKind.LENGTH "LENGTH"
  • UnitKind.AREA "AREA"
  • UnitKind.ANGLE "ANGLE"

VarioFitWeightingMethod 🍋

Bases: str, Enum

Weighting Method.

VarioFitWeightingMethod List

  • VarioFitWeightingMethod.INVERSE_DISTANCE "InverseDistance"
  • VarioFitWeightingMethod.SQUARED_INVERSE_DISTANCE "SquaredInverseDistance"

VariographyMethod 🍋

Bases: str, Enum

Variogram calculation methods.

VariographyMethod List

  • VariographyMethod.SEMIVARIOGRAM "SEMIVARIOGRAM"
  • VariographyMethod.COVARIOGRAM "COVARIOGRAM"