Click or drag to resize

SpectralPreprocessingOptions Class

SpectralPreprocessingOptions holds the options applied to all spectra before processed by PLS or PCR.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Regression.MultivariateSpectralPreprocessingOptions

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class SpectralPreprocessingOptions : ICloneable

The SpectralPreprocessingOptions type exposes the following members.

Constructors
 NameDescription
Public methodSpectralPreprocessingOptions Default constructor. Set all options to none.
Public methodSpectralPreprocessingOptions(SpectralPreprocessingOptions) Copy constructor.
Top
Properties
 NameDescription
Public propertyDetrendingOrder Sets up the order used for detrending. Zero order means that from a given spectrum the mean of all spectral slots is subtracted. One (first order) means that a regression is made over all spectral wavelength (using index as x-value), and that line is then subtracted from the spectrum.
Public propertyEnsembleMeanAfterProcessing Indicates that the ensemble mean should be taken after the spectral preprocessing. This is the normal case. Only in case of MultipleScatteringCorrection the ensemble mean is taken by this method itself, so that it is unneccessary to do it again after the processing.
Public propertyEnsembleScale Sets up if the spectral ensemble should be scaled so that each spectral slot (wavelength) has a variance of 1 over the ensemble of spectra.
Public propertyMethod Sets up the main method used for spectral preprocessing.
Public propertyRegions Gets/sets the indices to regions. By default, this array is empty (zero length). Each element of this array is an index into the spectrum. Each index parts the spectrum in two regions: one before up to the index-1, and a second beginning from the index (to the next index or to the end).
Public propertyUseDetrending Indicates if Detrending is applied to each spectrum.
Top
Methods
 NameDescription
Public methodClone 
Public methodCopyFrom Copies all settings from another instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIdentifyRegions Trys to identify spectral regions by supplying the spectral x values. A end_of_region is recognized when the gap between two x-values is ten times higher than the previous gap, or if the sign of the gap value changes. This method fails if a spectral region contains only a single point (since no gap value can be obtained then). (But in this case almost all spectral correction methods also fails).
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetRegions Set the regions by providing an array of indices. These indices are the starting indices of the different regions.
Public methodSetRegionsByIdentification Trys to identify spectral regions by supplying the spectral x values. A end_of_region is recognized when the gap between two x-values is ten times higher than the previous gap, or if the sign of the gap value changes. This method fails if a spectral region contains only a single point (since no gap value can be obtained then). (But in this case almost all spectral correction methods also fails).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also