This class does nothing. It is only intended for export, and to hold static methods common to all.
Constructor | Description |
Full Usage:
NoSpectralCorrection()
|
|
Instance member | Description |
Full Usage:
this.Export
Parameters:
XmlWriter
-
The writer to export to
Modifiers: abstract |
Exports the processing to an xml node.
|
Full Usage:
this.Process
Parameters:
IMatrix<float>
-
The matrix of spectra. Each spectrum is a row of the matrix.
xMean : IVector<float>
-
Output: On return, contains the ensemble mean of the spectra.
xScale : IVector<float>
-
Not used.
regions : int[]
-
Vector of spectal regions. Each element is the index of the start of a new region.
Modifiers: abstract |
Processes the spectra in matrix xMatrix.
|
Full Usage:
this.ProcessForPrediction
Parameters:
IMatrix<float>
-
The matrix of spectra. Each spectrum is a row of the matrix.
xMean : IReadOnlyList<float>
-
Output: On return, contains the ensemble mean of the spectra.
xScale : IReadOnlyList<float>
-
Not used.
regions : int[]
-
Vector of spectal regions. Each element is the index of the start of a new region.
Modifiers: abstract |
Processes the spectra in matrix xMatrix.
|
Static member | Description |
Full Usage:
NoSpectralCorrection.RegionEnd(i, regions, totalNumberOfPoints)
Parameters:
int
-
The number of region whose end index is calculated.
regions : int[]
-
The array of region start indices.
totalNumberOfPoints : int
-
The total number of points of the spectra.
Returns: int
The end index of the region (one above the last element).
|
Calculates the end index of region i (one above the last element).
|
Full Usage:
NoSpectralCorrection.RegionStart(i, regions)
Parameters:
int
-
The number of region whose starting index is calculated.
regions : int[]
-
The array of region start indices.
Returns: int
The starting index of the region.
|
Calculates the start index of region i.
|