Skip to content

KrigingGridInterpolationModel

Namespace: ThinkGeo.Core

public abstract class KrigingGridInterpolationModel : GridInterpolationModel

Inheritance ObjectGridInterpolationModelKrigingGridInterpolationModel

Properties

Points

public Dictionary<PointShape, double> Points { get; }

Property Value

Dictionary<PointShape, Double>

NumberOfReferencedPoints

public int NumberOfReferencedPoints { get; set; }

Property Value

Int32

Methods

GetSemivariance(Double, EmpiricalFunctionCoefficients)

public double GetSemivariance(double distance, EmpiricalFunctionCoefficients coefficients)

Parameters

distance Double

coefficients EmpiricalFunctionCoefficients

Returns

Double

GetEmpiricalFunctionCoefficients(Int32, Double[,], Double[,], Double)

public EmpiricalFunctionCoefficients GetEmpiricalFunctionCoefficients(int numberOfPoints, Double[,] distance, Double[,] semivariances, double maxRange)

Parameters

numberOfPoints Int32

distance Double[,]

semivariances Double[,]

maxRange Double

Returns

EmpiricalFunctionCoefficients

InterpolateCore(RectangleShape, GridDefinition)

Interpolate a cell according to a given extent and grid definition.

protected ValueTuple<double, double> InterpolateCore(RectangleShape cellExtent, GridDefinition gridDefinition)

Parameters

cellExtent RectangleShape
the extent of the cell to interpolate

gridDefinition GridDefinition
the grid definition to interpolate

Returns

ValueTuple<Double, Double>
The value and the weight. of the cell

GetSemivarianceCore(Double, EmpiricalFunctionCoefficients)

protected double GetSemivarianceCore(double distance, EmpiricalFunctionCoefficients coefficients)

Parameters

distance Double

coefficients EmpiricalFunctionCoefficients

Returns

Double

GetSillSlope(Double, Double)

protected double GetSillSlope(double distance, double range)

Parameters

distance Double

range Double

Returns

Double

GetSillSlopeCore(Double, Double)

protected abstract double GetSillSlopeCore(double distance, double range)

Parameters

distance Double

range Double

Returns

Double

GetEmpiricalFunctionCoefficientsCore(Int32, Double[,], Double[,], Double)

protected EmpiricalFunctionCoefficients GetEmpiricalFunctionCoefficientsCore(int points, Double[,] distance, Double[,] semivariances, double maxRange)

Parameters

points Int32

distance Double[,]

semivariances Double[,]

maxRange Double

Returns

EmpiricalFunctionCoefficients