Variogram
Variogram
evo.objects.typed.variogram.Variogram
A GeoscienceObject representing a variogram.
The variogram describes the spatial correlation structure of a variable, used in geostatistical modeling and kriging interpolation.
sill
The variance of the variogram.
is_rotation_fixed
Boolean value specifying whether all structure's rotations are the same.
structures
List of variogram structures (exponential, gaussian, spherical, etc.).
nugget
The variance between two samples separated by near-zero lag distance.
data_variance
The variance of the data, used for normalising or rescaling the variogram.
modelling_space
The modelling space the variogram model was fitted in.
domain
The domain the variogram is modelled for.
attribute
The attribute the variogram is modelled for.
get_ellipsoid
Get an Ellipsoid from a variogram structure for visualization or search.
Returns an Ellipsoid from evo.objects.typed that can be used for: - 3D visualization with surface_points() or wireframe_points() - Creating search ellipsoids via scaled() - Kriging search neighborhoods
Args: structure_index: Index of the structure to use. If None (default), selects the structure with the largest volume (major × semi_major × minor).
Returns: Ellipsoid configured with the structure's anisotropy ranges and rotation.
Example::
get_principal_directions
Generate variogram curve data for the three principal directions.
Calculates the variogram model along the major, semi-major, and minor axis directions. Each direction uses the corresponding range from the anisotropy ellipsoid.
Args: max_distance: Maximum distance for the curves. If None, uses 1.2x the maximum range. n_points: Number of points for smooth curves.
Returns: Tuple of (major_curve, semi_major_curve, minor_curve) as VariogramCurveData.
Example with Plotly::
get_direction
Calculate variogram model curve in an arbitrary direction.
Computes the variogram semivariance along a specified direction defined by azimuth and dip angles. The effective range in that direction is calculated using the anisotropic transform.
Args: azimuth: Azimuth angle in degrees (0-360), measured clockwise from north. dip: Dip angle in degrees (-90 to 90), positive downward. max_distance: Maximum distance for the curve. If None, uses 1.3x the effective range in the specified direction. n_points: Number of points for smooth curve.
Returns: Tuple of (distance, semivariance) as numpy arrays, suitable for plotting.
Example with Plotly::
Example with Matplotlib::