Skip to content

drill holes and domains

name summary used in
Drillholes Collar, survey and interval tables desurveyed by method: "minimum_curvature" (circular arcs), "tangential" (each survey's direction holds down to the next) or "balanced_tangential" (half of each segment along each end's direction). 55
merge_intervals Splits two interval tables (e.g. assays and geology) at the union of their boundaries, hole by hole. 27
check_drillholes Per-record flags of drillhole tables, a summary of every check and the values behind the checks that suggest a correction. 4
fix_drillholes Tables cleaned by the flags of check_drillholes, one rule per check. 3
duplicates Samples at most tolerance apart, grouped, and optionally merged. 1
hole_distance 1
PolygonSelector Selects points inside plan-view rings, optionally between z_min and z_max. 1
point_in_polygon Whether each (x, y) point is inside polygon, an (n, 2) ring or a Polylines (even-odd rule; see Polylines.contains). 2
polygon_distance Plan distance from each point to the boundary of polygon, an (n, 2) ring or a Polylines (see Polylines.distance); signed makes inside points negative. 1
assign_domain Domain of each target from labeled samples, or inside/outside a closed mesh. 1
block_shell Visible skin of a block model; column becomes the face column value. 1
contact_distance Distance from each block to the nearest block of another class, or with target, to the nearest block of class target. 1
buffer_domains Block classes with every block within distance of a contact relabeled label ("contact" by default): of a contact between any two classes, or with target, of the contact of class target, on both sides of it. 1
remove_small_units Reclassify connected units of block classes smaller than min_volume (or min_blocks blocks) into the class of their neighbors. 2
smooth_classes Majority filter of block classes over a window of parent cells, repeated iterations times; ties keep a block's class and absent cells do not vote. 2
map_blocks Streams the block model file path to out in chunks of rows blocks: func(chunk) returns a dict of new columns, written with the chunk's layout and, when keep, its columns. 1
domain_change Tonnage, and with grades metal, moving between the classes of two categorical models of the same blocks, such as an old and a new domain model, or the most likely category and a simulated realization. 1
transition_matrix Along-hole category transition matrix: for every sample, the classes of samples lag ± tolerance deeper in the same hole. 1
vertical_proportions Vertical proportion curve: the weighted proportion of each category in slices of height. 1
combine_proportions Category proportions in 3D from a vertical proportion curve and areal proportion maps: at each target, the curve at its height times the areal proportions over the global ones, rescaled to sum 1. 1
planned_drillholes Straight holes on a regular collar grid over targets, for drilling plans and spacing studies. 1
snap_to_surface Moves each collar's elevation onto a surface; the hole moves with it. 1