experimental_variogram
builtin
¶
experimental_variogram(
coords,
values,
lag,
max_lag,
*,
azimuth=None,
dip=0.0,
tolerance=22.5,
bandwidth=None,
estimator="matheron",
standardize=False,
other=None,
other_coords=None,
holes=None,
method=None,
anisotropy=None,
)
Experimental variogram, omnidirectional unless azimuth is given, or the
cross-variogram of values and other.
Every estimator is returned in variogram form, so any of them can be fitted.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords
|
(array_like, shape(n, 2) or (n, 3), PointSet or BlockModel)
|
|
required |
values
|
array_like, shape (n,), or str
|
Values, or the column of |
required |
lag
|
float or str
|
Lag-bin width and largest pair distance, in the length unit of
|
required |
max_lag
|
float or str
|
Lag-bin width and largest pair distance, in the length unit of
|
required |
azimuth
|
float
|
Direction and cone half-angle in degrees; omnidirectional when
|
None
|
dip
|
float
|
Direction and cone half-angle in degrees; omnidirectional when
|
None
|
tolerance
|
float
|
Direction and cone half-angle in degrees; omnidirectional when
|
None
|
bandwidth
|
float
|
Largest offset of a pair from the direction line. |
None
|
estimator
|
(matheron, cressie - hawkins, covariance, correlogram, pairwise - relative, madogram)
|
Classical, robust, σ² − C(h), 1 − ρ(h), the pairwise-relative
variogram (non-negative values only), or the madogram
Σ |Δz| / 2N, in the units of the values: √(γ/π) for Gaussian
increments and less sensitive than γ to a few extreme pairs (see
|
"matheron"
|
standardize
|
bool
|
Divide by the sample variance so the sill is 1, the madogram by the standard deviation. The correlogram and pairwise-relative estimates are dimensionless and left unchanged; a cross-variogram is divided by σ₁σ₂. |
False
|
other
|
(array_like, shape(m))
|
Second variable, for its cross-variogram with |
None
|
other_coords
|
(array_like, shape(m, 2) or (m, 3))
|
Where |
None
|
holes
|
(array_like, shape(n))
|
Hole id of each sample, for a downhole variogram: only pairs in the
same hole count, lag |
None
|
method
|
(None, pairs, grid)
|
How pairs are found. "pairs" compares every two samples, O(n²).
"grid" needs a regular or masked BlockModel: every pair of cells one
index offset apart has the same separation, so each offset within
|
None
|
anisotropy
|
LocalAnisotropy
|
Local frames: each pair's separation is read in the frame of the
nearest location to its tail, and |
None
|
Returns:
| Type | Description |
|---|---|
ExperimentalVariogram
|
|
used in