pub enum Variogram {
Spherical {
sill: f64,
range: f64,
nugget: f64,
},
Exponential {
sill: f64,
range: f64,
nugget: f64,
},
Gaussian {
sill: f64,
range: f64,
nugget: f64,
},
Linear {
slope: f64,
nugget: f64,
},
}Expand description
A variogram model γ(h) describing the spatial correlation of residuals.
All models reduce to the nugget at h = 0, i.e. γ(0) = nugget, which is
what makes ordinary Kriging an exact interpolator at sample points.
Variants§
Spherical
Spherical: γ(h) = nugget + sill·(1.5·a − 0.5·a³) for h ≤ range, else
nugget + sill, where a = h / range.
Fields
Exponential
Exponential: γ(h) = nugget + sill·(1 − exp(−h / range)).
Fields
Gaussian
Gaussian: γ(h) = nugget + sill·(1 − exp(−(h / range)²)).
Linear
Linear model of regionalized variables: γ(h) = nugget + slope·h.
This is a valid (conditionally negative-definite) variogram in 1-D and
has the useful property that ordinary Kriging reproduces a linear trend
exactly (with nugget = 0).
Implementations§
Trait Implementations§
impl Copy for Variogram
impl StructuralPartialEq for Variogram
Auto Trait Implementations§
impl Freeze for Variogram
impl RefUnwindSafe for Variogram
impl Send for Variogram
impl Sync for Variogram
impl Unpin for Variogram
impl UnsafeUnpin for Variogram
impl UnwindSafe for Variogram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more