PeakSearchingNoneConvertToRegularPeakDescription Method |
Converts a peak description that was retrieved from an enhanced spectrum to a peak description in the regular spectrum domain.
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static PeakDescription ConvertToRegularPeakDescription(
PeakDescription peakEnhanced,
double[] xRegular,
double[] yRegular
)
Parameters
- peakEnhanced PeakDescription
- The peak description that was retrieved from the enhanced spectrum.
- xRegular Double
- The x-values of the regular spectrum.
- yRegular Double
- The y-values of the regular spectrum.
Return Value
PeakDescription
The peak description converted to the regular spectrum domain (affects position index, width in pixels, height, and prominence).
See Also