krigekit.variogram_component#

One flat, engine-compatible theoretical variogram component.

Classes#

VgmComponent

One nested variogram component.

Module Contents#

class krigekit.variogram_component.VgmComponent#

One nested variogram component.

The public representation deliberately matches the flat arguments accepted by krigekit.Kriging.set_vgm(). The Fortran engine groups the anisotropy fields into its internal vgm_aniso type after transfer.

validate()#

Validate finite parameters and strictly positive ranges.

copy(**changes)#

Return a validated copy, optionally replacing selected fields.

property display_name#

the name if set, otherwise the model type.

Type:

Human-readable label

set_anisotropy(*, a_major=None, a_minor1=None, a_minor2=None, ratio_minor1=None, ratio_minor2=None, anis1=None, anis2=None, azimuth=None, dip=None, plunge=None)#

Update ranges and angles in place.

anis1 and anis2 are aliases for the minor/major ratios used by the kriging search API.

anisotropy_dict()#

Return ranges, ratios, and angles used by geometry helpers.

calc_anisotropic_distance(lag)#

Return equivalent major-axis distance for lag vector(s).

calc_covariance(distance)#

Evaluate this component’s covariance at scalar lag distance(s).

calc_covariance_lag(lag)#

Evaluate covariance for coordinate lag vector(s), with anisotropy.

property cov0#

Covariance at zero lag, including this component’s nugget.

calc_variogram(distance)#

Evaluate gamma(h) = C(0) - C(h) at scalar lag distance(s).

calc_variogram_lag(lag)#

Evaluate the semivariogram for coordinate lag vector(s).

to_flat_dict()#

Return the flat engine representation (excludes the name metadata).

classmethod from_flat_dict(spec)#

Construct a component from a strict flat engine-style mapping.