krigekit.variogram_component#
One flat, engine-compatible theoretical variogram component.
Classes#
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 internalvgm_anisotype after transfer.- validate()#
Validate finite parameters and strictly positive ranges.
- copy(**changes)#
Return a validated copy, optionally replacing selected fields.
- property display_name#
the
nameif 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.
anis1andanis2are 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
namemetadata).
- classmethod from_flat_dict(spec)#
Construct a component from a strict flat engine-style mapping.