KrigingDiagnostics
KrigingDiagnostics
evo.compute.tasks.geostatistics.kriging.KrigingDiagnostics
Optional per-location diagnostics written alongside the kriging estimate.
Each field selects one diagnostic and says where to write it on the target object. Only the diagnostics you set are computed; the rest are left out entirely.
Every field accepts:
True— create an attribute using the Leapfrog-aligned recommended name from :data:RECOMMENDED_DIAGNOSTIC_NAMES(for exampleKVforkriging_variance).- a
str— create an attribute with that name. - a typed attribute from the target object — update it if it already exists, otherwise create it.
- a :class:
~evo.compute.tasks.common.CreateAttributeor :class:~evo.compute.tasks.common.UpdateAttributefor full control.
Every output of a kriging task writes to its own attribute, so each diagnostic name must differ from the estimate's attribute name and from every other diagnostic.
An existing attribute must be able to hold the diagnostic's values: boolean for valid, integer for the num_* counts, and floating-point for the rest.
Example::
valid
Whether each target location's neighbourhood satisfied the search constraints.
kriging_variance
The kriging variance (estimation uncertainty).
slope_of_regression
The slope of regression, a diagnostic for conditional bias.
kriging_efficiency
The proportion of point or intra-block variance explained by the kriging weights.
kriging_mean
The GLS mean for ordinary kriging, or the supplied constant mean for simple kriging.
num_samples
The number of data samples used in the estimate.
num_drillholes
The number of distinct drillholes contributing to the estimate.
Requires a downhole intervals source object.
num_duplicates
The number of duplicate sample locations used in the estimate.
num_equidistant
A hint of how many other samples could have replaced the last returned sample because they were the same distance from the target location. Counted after searching and before clipping to the maximum number of samples.
sum_weights
The sum of kriging weights applied to data samples.
sum_positive_weights
The sum of positive kriging weights applied to data samples.
sum_negative_weights
The sum of negative kriging weights applied to data samples (zero when negative-weight removal is enabled).
min_distance
The minimum isotropic Euclidean distance from the target location to any neighbour.
mean_distance
The mean isotropic Euclidean distance from the target location to all neighbours.
aniso_min_distance
The minimum anisotropic (ellipsoid-space) distance from the target location to any neighbour.
aniso_mean_distance
The mean anisotropic (ellipsoid-space) distance from the target location to all neighbours.