geolime¶
- geolime.enumerator
- geolime.geostats
- geolime.metrics
- geolime.objects
- geolime.operations
- geolime.plotting
- geolime.stats
- geolime.utilities
- geolime.logger_config
Classes:
|
Metaclass for defining Abstract Base Classes (ABCs). |
|
|
|
|
|
|
|
|
|
|
|
Generic enumeration. |
|
|
|
|
|
Parent class of every object |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A zero dimensional feature |
|
|
|
Performs cartographic transformations. |
|
Project Class Parameters that a constant over a “project” such as coordinate systen,unit system or z direction. |
|
MetaClass to ensure only one instance of Project in a script. |
|
A mixin class to map scalar data to RGBA. |
|
An enumeration. |
|
|
|
An enumeration. |
|
|
|
product(*iterables, repeat=1) –> product object |
|
Change the maximal number of threads that can be used in thread pools. |
Data:
|
Callable type; Callable[[int], str] is a function of (int) -> str. |
|
The central part of internal API. |
|
The central part of internal API. |
Functions:
|
A decorator indicating abstract methods. |
|
Compute the angle between two vectors using the dot product |
|
Anisotropic distance between two points according to the anisotropy matrix a. |
|
Function to compute the indexes indicating the order in which the rows of x are close to p according to the distance distance (from small distance to large distance) |
|
Convert an angle from geographic to arithmetic |
|
Ordinary / Simple kriging algorithm (punctual). |
|
Block kriging function. |
|
Punctual kriging function for a specific block node |
|
Compute bouding concave polygon of a set of points. |
|
Compute bouding concave polygon of a subset of points. |
|
Compute distance between each pair of the two collections of inputs. |
|
Conditional expectation |
|
Return the ceiling of x as an Integral. |
|
|
|
Compute declustered weights by Cell Declustering algorithm from C. |
|
Compute the change of support coefficient |
|
Write in a dataframe for each block if above or under a surface |
|
Compositing regularizes data spacing along a drillhole from top to bottom. |
|
Compositing function for a single drillhole. |
|
Compute kriging weights according to a covariance model |
|
Compute IDW weights |
|
Take x,y,z column of dataframe and convert x/y to latitude/longitude in two new columns proj_in by default is Lambert 93 out_proj (espg:4326) corresponds to lat/lon official reference |
|
Compute the covariance given an array of values for a set of pairs |
|
Create a 2D grid from mesh parameters. |
|
Create a 3D grid from mesh parameters. |
|
Creates a matplotlib contour from a bm and a property. |
|
Applies a covariance model to a given grid for variance calculus |
|
Converts a DataFrame to a GeoDataFrame |
|
Take x,y,z column of bm to make a 2D array, with attribute as values. |
|
Initialize conditional simulation against observed values (in Gaussian space). |
|
Applies Simple Kriging on conditional simulations |
|
Compute directional vector from angles |
|
Apply discrete gaussian kriging on a grid. |
|
Apply discrete gaussian kriging on a grid block |
|
Apply discrete gaussian kriging on a set of grid indices. |
|
Compute Discrete Gaussian Kriging weights |
|
Display a grid content |
|
Computes the distance matrix of two sets of points in the Euclidean space according to a distance. |
|
Compute the true elevation of drillholes given coordinates and the corresponding surface. |
|
Compute the Euclidean distance between two points. |
|
Evaluate at x a function determined by its coefficients in the Hermite expansion. |
|
Evaluate germite expansion for metal |
|
|
|
Evaluate at x a function determined by its coefficients in the Hermite expansion. |
|
Evaluate at x a function determined by its coefficients in the Hermite expansion. |
|
Extends a regular 2d bm with a given extension. |
|
Create a mpl contour of a dxf surface |
|
Append additional information to covariance element (angles and scales) |
|
” |
|
Function to return the indexes of the points which are in a sphere in the Euclidean space. |
|
Seek for the duplicates in drillhole - only in (x,y). |
|
Flatten a DataFrame that has many rows with same (x,y). |
|
Function to obtain the (standard) Gaussian scores of a sample. |
|
Function to obtain a Gaussian anamorphose model for a sample. |
|
Transform image (numpy 2D array) into a geopandas dataframe. |
|
Converts a DataFrame to a GeoDataFrame |
|
Geary’s C spatial autocorrelation metric |
|
Generate lags array to be used with variogram |
|
Create a 2D grid from mesh bounds and cell size. |
|
Create a 3D grid from mesh bounds and cell size. |
|
Create a dataset from point mean in common blocks |
|
Return the dx,dy of a grid guess from the x,y values |
|
Function to obtain the Hermite coefficients of a Gaussian anamorphose model function. |
|
Computes the Hermite coefficients of a piece-wise linear function continuous in an interval, with a desired extension outside the interval. |
|
Function to compute the Hermite polynomials up to order n. |
|
Inverse Distance Weighting algorithm. |
|
Create a geolime object Drillholes from different csv |
|
Return a function that checks for an index vector if it belongs to an angular range. |
|
Check if target angle lies within a range of angles (defined by an angle tolerance) |
|
Return a function that check whether a vector (cartesian coordinates) lies within a slice (defined by a width and a height in meters) |
|
Return indexes of block containing point |
|
Initialize parameters for variogram model fitting |
|
Regularize from / to columns of a single drillhole dataframe based on an origin, an end, acomposite length and an eventual elevation of reference. |
|
Function to obtain the (pseudo-)inverse of a Gaussian anamorphose model for a sample date. |
|
Compute theoretical inverse anamorphosis for a single value. |
|
Compute inverse variance |
|
Take assay and collar dataframes to compute true location of points in the drillhole |
|
Conditional expectation for metal |
|
Fit a variogram model from an experimental semivariogram |
|
Semi-variogram regularization from a covariance model. |
|
Moran’s I spatial autocorrelation metric |
|
Compute declustered weights by Moving Window algorithm. |
|
|
|
Matrix or vector norm. |
|
(Adapted from Apach Commons normalizeAngle, MathUtils sources) Normalize an angle in a 2pi; wide interval around a center value. |
|
Conditional expectation for ore |
|
Apply non Conditional Expectation given hermite coefficients anamorphosis and a cut-off value |
|
Debug function that displays pairs of points on a 2D projection plane. |
|
Debug function that displays pairs of points on a 3D space. |
|
Computes pairwise distances |
|
Pairwise distances between observations in n-dimensional space. |
|
Convert plane angles to line angles. |
|
Semivariogram plot |
|
Creates Polygon object from a 3D BlockModel, a property, a CRS, and list of thresholds (ie: cut off grades). |
|
Create polygon object from file 2 types of files are accepted : - Shapefile .shp - GeoJSON .geojson |
|
Export Polygon to GeoJSON |
|
Export Polygon to shapefile |
|
Apply a function of two arguments cumulatively to the items of a sequence, from left to right, so as to reduce the sequence to a single value. |
|
Residuals to be minimized for model fitting |
|
Rotation againt the X axis |
|
Rotation againt the Y axis |
|
Example of a convention |
|
Rotation againt the Z axis |
|
Example of a convention (RGeoStats) |
|
Compute the angles in radians necessary for matrix rotation operation from geographic azimuth, dip and pitch angles defined in degrees |
|
Compare vectors from a set of indices |
|
Check whether a set of points (linked to their distances) match the input restricted boundaries. |
|
Compare vectors from a set of indices |
|
Check whether a set of distances lie within a lag-range. |
|
Filters points in 2D and keep only the one inside the given polygon. |
|
Compute the semivariance given an array of values for a set of pairs |
|
Shift an array. |
|
Evaluate simulations on an input grid. |
|
This function will initialize Turning Band method for computing unconditional simulations from a covariance structure. |
|
Initialize Turning Band method on an atomic covariance element |
|
Applies unconditional simulations on input coordinates (evaluated as distances). |
|
Prepares one simulation with the Turning Band method. |
|
Compute random function with the Turning Band method. |
|
Convert a vector-form distance vector to a square-form distance matrix, and vice-versa. |
|
Create a surface object from a csv (table) file |
|
Create a surface object from a pandas dataframe |
|
Create a surface object from a dxf file |
|
Create a surface object from a stl (cad) file |
|
Export a geolime surface object to a stl file |
|
New in version 2.1.2: skip_equivalent |
|
Apply Uniform Conditoning on a Panel according to a cut off value. |
|
Apply Uniform Conditioning on a Panel Grid |
|
Prepare Uniform Conditioning on a panel by computing panel Kriging and Panel-Point support coefficient |
|
Plot VarioContour as Pie Chart. |
|
Plot VarioMap as Pie Chart. |
|
Given boundary input arguments (lag and its associated tolerance, angular reference and its associated tolerance), compute the variogram for a set of points (value associated with cartesian coordinates for a specific point) |
|
Compute the z coordinates of the vertical intersection between a Trimesh triangulated mesh and a (x,y) coordinates. |
|
Function to return the indexes of the points which are in a (closed) ball in the Euclidean space. |
|
Function to obtain the N closest points of a set of points to the center of a ball which are on that ball. |
|
Function to obtain the N closest points of a set of points to the center of a ball which are on that ball with a maximum per category. |