Spectral |
public class SpectralPreprocessingOptions : ICloneable
The SpectralPreprocessingOptions type exposes the following members.
Name | Description | |
---|---|---|
SpectralPreprocessingOptions | Default constructor. Set all options to none. | |
SpectralPreprocessingOptions(SpectralPreprocessingOptions) | Copy constructor. |
Name | Description | |
---|---|---|
DetrendingOrder | 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. | |
EnsembleMeanAfterProcessing | 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. | |
EnsembleScale | 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. | |
Method | Sets up the main method used for spectral preprocessing. | |
Regions | 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). | |
UseDetrending | Indicates if Detrending is applied to each spectrum. |
Name | Description | |
---|---|---|
Clone | ||
CopyFrom | Copies all settings from another instance. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IdentifyRegions | 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). | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
SetRegions | Set the regions by providing an array of indices. These indices are the starting indices of the different regions. | |
SetRegionsByIdentification | 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). | |
ToString | Returns a string that represents the current object. (Inherited from Object) |