RBFSmoothingInterpolation2DFit(IReadOnlyListDouble, IReadOnlyListDouble, IReadOnlyListDouble, RBFSmoothingInterpolation2DKernelKind, Double, Double, RBFSmoothingInterpolation2DPolynomialTail, Boolean) Method |
Fits an RBF smoother to scattered (x,y,z) data.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static RBFSmoothingInterpolation2D Fit(
IReadOnlyList<double> x,
IReadOnlyList<double> y,
IReadOnlyList<double> z,
RBFSmoothingInterpolation2DKernelKind kernel = RBFSmoothingInterpolation2DKernelKind.ThinPlateSpline,
double lambda = 0,
double epsilon = 1,
RBFSmoothingInterpolation2DPolynomialTail tail = RBFSmoothingInterpolation2DPolynomialTail.Affine,
bool collapseDuplicateSites = true
)
Parameters
- x IReadOnlyListDouble
- The x-coordinates of the data points.
- y IReadOnlyListDouble
- The y-coordinates of the data points.
- z IReadOnlyListDouble
- 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
RBFSmoothingInterpolation2DA fitted smoother that can be evaluated at arbitrary
(x,y).
See Also