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. See Pandas for definition of methods.

AggregationMethod List

  • AggregationMethod.ALL "all"
  • AggregationMethod.ANY "any"
  • AggregationMethod.BACKFILL "backfill"
  • AggregationMethod.BFILL "bfill"
  • AggregationMethod.CORRWITH "corrwith"
  • AggregationMethod.COUNT "count"
  • AggregationMethod.CUMCOUNT "cumcount"
  • AggregationMethod.CUMMAX "cummax"
  • AggregationMethod.CUMMIN "cummin"
  • AggregationMethod.CUMPROD "cumprod"
  • AggregationMethod.CUMSUM "cumsum"
  • AggregationMethod.DIFF "diff"
  • AggregationMethod.FFILL "ffill"
  • AggregationMethod.FILLNA "fillna"
  • AggregationMethod.FIRST "first"
  • AggregationMethod.IDXMAX "idxmax"
  • AggregationMethod.IDXMIN "idxmin"
  • AggregationMethod.LAST "last"
  • AggregationMethod.MAD "mad"
  • AggregationMethod.MAX "max"
  • AggregationMethod.MEAN "mean"
  • AggregationMethod.MEDIAN "median"
  • AggregationMethod.MIN "min"
  • AggregationMethod.NGROUP "ngroup"
  • AggregationMethod.NTH "nth"
  • AggregationMethod.NUNIQUE "nunique"
  • AggregationMethod.PAD "pad"
  • AggregationMethod.PCT_CHANGE "pct_change"
  • AggregationMethod.PROD "prod"
  • AggregationMethod.QUANTILE "quantile"
  • AggregationMethod.RANK "rank"
  • AggregationMethod.SEM "sem"
  • AggregationMethod.SHIFT "shift"
  • AggregationMethod.SIZE "size"
  • AggregationMethod.SKEW "skew"
  • AggregationMethod.STD "std"
  • AggregationMethod.SUM "sum"
  • AggregationMethod.TSHIFT "tshift"
  • AggregationMethod.VAR "var"

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"
  • Config.TIMESTAMPED_LOGS "TIMESTAMPED_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"

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

HistogramNormalisationMethod 🍋

Bases: str, Enum

Specify how to normalise histogram plot.

HistogramNormalisationMethod List

  • HistogramNormalisationMethod.COUNT ""
  • HistogramNormalisationMethod.PERCENT "percent"
  • HistogramNormalisationMethod.PROBABILITY "probability"
  • HistogramNormalisationMethod.DENSITY "density"
  • HistogramNormalisationMethod.PROBABILITY_DENSITY "probability density"

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"

RegionAggregationMethod 🍋

Bases: str, Enum

Determine how to keep/delete region in aggregated XY based on condition.

RegionAggregationMethod List

  • RegionAggregationMethod.ANY "Any"
  • RegionAggregationMethod.ALL "All"

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"

Last update: 2022-12-09