Click or drag to resize

SmoothingSavitzkyGolay Class

Savitzky-Golay smoothing processor. Parameters such as the number of points, polynomial order and derivative order are inherited from SavitzkyGolayParameters.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.RegressionSavitzkyGolayParameters
    Altaxo.Science.Spectroscopy.SmoothingSmoothingSavitzkyGolay

Namespace: Altaxo.Science.Spectroscopy.Smoothing
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class SmoothingSavitzkyGolay : SavitzkyGolayParameters, 
	ISmoothing, ISingleSpectrumPreprocessor, IEquatable<SmoothingSavitzkyGolay>

The SmoothingSavitzkyGolay type exposes the following members.

Constructors
 NameDescription
Public methodSmoothingSavitzkyGolayInitializes a new instance of the SmoothingSavitzkyGolay class
Top
Properties
 NameDescription
Public propertyDerivativeOrder Gets the derivative order. Must be zero or positive. A value of zero is used to smooth a function.
(Inherited from SavitzkyGolayParameters)
Public propertyNumberOfPoints Gets the number of points used for Savitzky-Golay coefficients. Must be a positive odd number.
(Inherited from SavitzkyGolayParameters)
Public propertyPolynomialOrder Gets the polynomial order used to calculate Savitzky-Golay coefficients. Must be a positive number.
(Inherited from SavitzkyGolayParameters)
Top
Methods
 NameDescription
Public methodExecute Executes the processor.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString
(Overrides SavitzkyGolayParameters.ToString)
Top
Remarks
This processor applies a Savitzky-Golay filter to each specified region of the spectrum. Regions smaller than the configured point width will cause an InvalidOperationException to be thrown.
See Also