Click or drag to resize

ModifiedSincSmootherSmoothLikeSavitzkyGolay Method

Smooths the data in a way comparable to a traditional Savitzky-Golay filter with the given parameters degree and m.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static double[] SmoothLikeSavitzkyGolay(
	double[] data,
	bool isMS1,
	int degree,
	int m
)

Parameters

data  Double
The input data.
isMS1  Boolean
If , uses the MS1 variant, which has a smaller kernel size at the cost of reduced stopband suppression and a more gradual cutoff for degree = 2. Otherwise, standard MS kernels are used.
degree  Int32
Degree of the Savitzky-Golay filter that should be replaced. Must be 2, 4, 6, …, MAX_DEGREE.
m  Int32
The half-width of the Savitzky-Golay filter that should be replaced.

Return Value

Double
The smoothed data.
See Also