VariogramStructure
VariogramStructure
evo.objects.typed.variogram.VariogramStructure
Base class for variogram structures.
contribution
contribution: float
The contribution of this structure to the total variance.
anisotropy
anisotropy: Ellipsoid
The anisotropy ellipsoid for this structure.
variogram_type
variogram_type: str = field(init=False)
The type of variogram structure (set by subclasses).
to_dict
to_dict() -> dict[str, Any]
Convert to dictionary format for the schema.
to_ellipsoid
to_ellipsoid() -> Ellipsoid
Return this structure's anisotropy ellipsoid.
Returns the Ellipsoid that can be used for: - 3D visualization with surface_points() or wireframe_points() - Creating search ellipsoids via scaled() - Kriging search neighborhoods
Example: >>> # Get ellipsoid from variogram structure >>> var_ell = variogram.structures[0].to_ellipsoid() >>> >>> # Create search ellipsoid scaled by 2x >>> search_ell = var_ell.scaled(2.0) >>> >>> # Visualize with Plotly >>> x, y, z = var_ell.surface_points(center=(100, 200, 50)) >>> mesh = go.Mesh3d(x=x, y=y, z=z, alphahull=0, opacity=0.3)