BreakTiesParameters
BreakTiesParameters
evo.compute.tasks.geostatistics.break_ties.BreakTiesParameters
Parameters for the break-ties task.
Defines all inputs needed to run a break-ties spatial tie-breaking task.
Example: >>> from evo.compute.tasks import run, SearchNeighborhood, Ellipsoid, EllipsoidRanges, Target >>> from evo.compute.tasks.geostatistics.break_ties import BreakTiesParameters >>> >>> params = BreakTiesParameters( ... source=pointset.attributes["grade"], ... target=Target.new_attribute(pointset, "grade_tiebroken"), ... neighborhood=SearchNeighborhood( ... ellipsoid=Ellipsoid(ranges=EllipsoidRanges(200, 150, 100)), ... max_samples=20, ... ), ... ) >>> result = await run(manager, params)
source
The source object and attribute containing values in which ties will be broken.
target
The target object and attribute to create or update with tie-broken results.
neighborhood
Search neighborhood parameters.
In this break-ties algorithm, the final value of each tied point is influenced by the mean of nearby points. The search parameters determine which nearby points to use.
seed
Seed for the random number generator.