WorksheetAnalysisGetRawSpectra Method |
Fills a matrix with the selected data of a table.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IMatrix<double> GetRawSpectra(
DataTable srctable,
bool spectrumIsRow,
IAscendingIntegerCollection spectralIndices,
IAscendingIntegerCollection measurementIndices
)
Parameters
- srctable DataTable
- The source table where the data for the spectra are located.
- spectrumIsRow Boolean
- True if the spectra in the table are organized horizontally, false if spectra are vertically oriented.
- spectralIndices IAscendingIntegerCollection
- The selected indices wich indicate all (wavelength, frequencies, etc.) that belong to one spectrum. If spectrumIsRow==true, this are the selected column indices, otherwise the selected row indices.
- measurementIndices IAscendingIntegerCollection
- The indices of all measurements (spectra) selected.
Return Value
IMatrixDoubleThe matrix of spectra. In this matrix the spectra are horizonally organized (each row is one spectrum).
See Also