Block |
public class BlockScalingCorrection2D : IEnsemblePreprocessor, ISingleSpectrumPreprocessor, IEquatable<BlockScalingCorrection2D>
The BlockScalingCorrection2D type exposes the following members.
| Name | Description | |
|---|---|---|
| BlockScalingCorrection2D | Initializes a new instance of the BlockScalingCorrection2D class |
| Name | Description | |
|---|---|---|
| IndexOfDimensionToAverage | Gets or initializes the index of the dimension along which the averaging is performed (0 or 1). Used to determine the number of blocks and spectra per block. | |
| MaximumX | Gets or initializes the maximum X-value for the range over which the mean is calculated. | |
| MinimumX | Gets or initializes the minimum X-value for the range over which the mean is calculated. | |
| SizeOfDimension0 | Gets or initializes the size of the first dimension of the block structure. | |
| SizeOfDimension1 | Gets or initializes the optional size of the second dimension of the block structure. If not set, it is inferred from the total number of rows and SizeOfDimension0. | |
| XIsInSpectralUnits | Gets or initializes a value indicating whether the X-range values (MinimumX and MaximumX) are specified in spectral units (true) or as row indices (false). |
| Name | Description | |
|---|---|---|
| Execute(Double, MatrixDouble, Int32) | Executes the processor for an ensemble of spectra. | |
| Execute(Double, Double, Int32) | Executes the preprocessor on a single spectrum. In this context, block scaling correction cannot be meaningfully applied to a single spectrum. Hence, the input spectrum is returned unchanged. | |
| ExecuteForPrediction | Processes the spectra for prediction. For prediction it is necessary to use the auxiliary data previously evaluated by Execute(Double, MatrixDouble, Int32), in order to apply the same treatment to the spectra. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |