GitHub source

evo.compute.tasks.common.source_target.Source

The source object and attribute containing known values.

Used to specify where input data comes from for geostatistical operations. Can be initialized directly, or more commonly from a typed object's attribute.

Example::

>>> # From a typed object attribute (preferred):
>>> source = pointset.attributes["grade"]
>>>
>>> # Or explicitly:
>>> source = Source(object=pointset, attribute="grade")

object

object: GeoscienceObjectReference

Reference to the source geoscience object.

attribute

attribute: AttributeExpression

Name of the attribute on the source object.