WorksheetAnalysisGetXOfSpectra Method |
Returns the corresponding x-values of the spectra (In fact only the first spectra is used to determine which x-column is used).
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double[] GetXOfSpectra(
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
DoubleThe x-values corresponding to the first spectrum.
See Also