Click or drag to resize

SNIP_Linear Class

Interface to all baseline evaluation algorithms for simple (1D) spectra. In contrast to IBaselineEstimation which evaluates and then subtracts the baseline, IBaselineEvaluation really evaluates the baseline, that is, the output is the baseline itself.
Inheritance Hierarchy
SystemObject
  Altaxo.Science.Spectroscopy.BaselineEstimationSNIP_Base
    Altaxo.Science.Spectroscopy.BaselineEvaluationSNIP_Linear

Namespace: Altaxo.Science.Spectroscopy.BaselineEvaluation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class SNIP_Linear : SNIP_Base, 
	IBaselineEvaluation, ISingleSpectrumPreprocessor, IEquatable<SNIP_Linear>

The SNIP_Linear type exposes the following members.

Constructors
 NameDescription
Public methodSNIP_LinearInitializes a new instance of the SNIP_Linear class
Top
Properties
 NameDescription
Public propertyHalfWidth Half of the width of the averaging window. This value should be set to roughly the FWHM (full width half maximum) of the broadest peak in the spectrum.
(Inherited from SNIP_Base)
Public propertyIsHalfWidthInXUnits Gets a value indicating whether the half width is given in x-axis units.
(Inherited from SNIP_Base)
Public propertyNumberOfRegularIterations Gets or sets the number of regular iterations. Default is 40.
(Inherited from SNIP_Base)
Top
Methods
 NameDescription
Protected methodEvaluateBaselineWithConstantHalfWidth Executes the algorithm to find the baseline with the provided spectrum. This method is specialized for (almost) equally spaced x-values, thus the half width can be given in points.
(Inherited from SNIP_Base)
Protected methodEvaluateBaselineWithLocalHalfWidth Executes the algorithm with the provided spectrum. This method is specialized for not equally spaced x-values, and the half width given in x-units. The half width in points is calculated for each point individually.
(Inherited from SNIP_Base)
Public methodExecute(Double, Double, Int32) 
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble) Executes the algorithm with the provided spectrum.
(Inherited from SNIP_Base)
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)
Top
Fields
 NameDescription
Protected field_halfWidth
(Inherited from SNIP_Base)
Protected field_isHalfWidthInXUnits
(Inherited from SNIP_Base)
Protected field_numberOfRegularStages
(Inherited from SNIP_Base)
Top
See Also