WorksheetAnalysisMapSpectralX Method |
This maps the indices of a master x column to the indices of a column to map.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static AscendingIntegerCollection? MapSpectralX(
IReadOnlyList<double> xmaster,
IReadOnlyList<double> xtomap,
out string failureMessage
)
Parameters
- xmaster IReadOnlyListDouble
- The master column containing x-values, for instance the spectral wavelength of the PLS calibration model.
- xtomap IReadOnlyListDouble
- The column to map containing x-values, for instance the spectral wavelength of an unknown spectra to predict.
- failureMessage String
- In case of a mapping error, contains detailed information about the error.
Return Value
AscendingIntegerCollectionThe indices of the mapping column that matches those of the master column. Contains as many indices as items in xmaster. In case of mapping error, returns null.
See Also