geolime.operations

Classes:

BlockModel(data, metadata)

Drillholes(data, metadata)

Proj(projparams, preserve_units, **kwargs)

Performs cartographic transformations.

SortingRank(value)

An enumeration.

StatKind(value)

An enumeration.

Surface(data, mesh, metadata)

product

product(*iterables, repeat=1) –> product object

Functions:

check_grid_above_surf(bm, surface, …)

Write in a dataframe for each block if above or under a surface

coord_to_lat_lon(bm[, proj_in])

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

create_mplcontour_from_grid(bm, column[, …])

Creates a matplotlib contour from a bm and a property.

df_xy_to_arr2d(bm[, attribute])

Take x,y,z column of bm to make a 2D array, with attribute as values.

drape_drillholes_to_surface(surface, drillholes)

Compute the true elevation of drillholes given coordinates and the corresponding surface.

extend_grid_2d(bm, extension)

Extends a regular 2d bm with a given extension.

extract_dxf_contour_to_mpl(dxf)

Create a mpl contour of a dxf surface

fill_missing_x_y(bm)

flatten_grid(bm[, sorting_type])

Flatten a DataFrame that has many rows with same (x,y).

guess_dx_dy(x_array[, y_array, z_array])

Return the dx,dy of a grid guess from the x,y values

linear_desurveying(drillholes)

Take assay and collar dataframes to compute true location of points in the drillhole

transform(p1, p2, x, y[, z, tt, radians, …])

New in version 2.1.2: skip_equivalent

vertical_intersection(x, y, surface)

Compute the z coordinates of the vertical intersection between a Trimesh triangulated mesh and a (x,y) coordinates.