Click or drag to resize

ModifiedSincSmoother Constructor

Creates a ModifiedSincSmoother with the given degree and kernel size. This constructor is useful for repeated smoothing operations with the same parameters; then the instance method Smooth(Double, Double) can be used without calculating the kernel and boundary fit weights each time. Otherwise, the static Smooth(Double, Boolean, Int32, Int32) method is more convenient.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public ModifiedSincSmoother(
	bool isMS1,
	int degree,
	int m
)

Parameters

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 filter. Must be 2, 4, …, MAX_DEGREE. As for Savitzky-Golay filters, higher degree results in a sharper cutoff in the frequency domain.
m  Int32
The half-width of the kernel. The kernel size is 2*m + 1. The parameter must be larger than degree/2. It can be determined with BandwidthToM(Boolean, Int32, Double).
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if degree is invalid, or if m is below the minimum required half-width for the chosen filter family.
See Also