Click or drag to resize

RBFSmoothingInterpolation2DFit(ReadOnlySpanDouble, ReadOnlySpanDouble, ReadOnlySpanDouble, RBFSmoothingInterpolation2DKernelKind, Double, Double, RBFSmoothingInterpolation2DPolynomialTail, Boolean) Method

Fits an RBF smoother to scattered (x,y,z) data.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static RBFSmoothingInterpolation2D Fit(
	ReadOnlySpan<double> x,
	ReadOnlySpan<double> y,
	ReadOnlySpan<double> z,
	RBFSmoothingInterpolation2DKernelKind kernel = RBFSmoothingInterpolation2DKernelKind.ThinPlateSpline,
	double lambda = 0,
	double epsilon = 1,
	RBFSmoothingInterpolation2DPolynomialTail tail = RBFSmoothingInterpolation2DPolynomialTail.Affine,
	bool collapseDuplicateSites = true
)

Parameters

x  ReadOnlySpanDouble
The x-coordinates of the data points.
y  ReadOnlySpanDouble
The y-coordinates of the data points.
z  ReadOnlySpanDouble
The z-values of the data points.
kernel  RBFSmoothingInterpolation2DKernelKind  (Optional)
The radial basis function kernel.
lambda  Double  (Optional)
Smoothing parameter (Tikhonov regularization). Use 0 for interpolation; use > 0 for smoothing.
epsilon  Double  (Optional)
Kernel shape parameter (used by some kernels, e.g. Gaussian/multiquadric).
tail  RBFSmoothingInterpolation2DPolynomialTail  (Optional)
Optional polynomial tail.
collapseDuplicateSites  Boolean  (Optional)
If , duplicate (x,y) sites are collapsed by averaging their z values.

Return Value

RBFSmoothingInterpolation2D
A fitted smoother that can be evaluated at arbitrary (x,y).
See Also