PeakSearchingNoneConvertToRegularPeakDescription Method |
Converts a peak description that was retrieved from an enhanced spectrum to a regular peak description.
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public 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
PeakDescriptionThe peak description, converted to the regular spectrum domain (concerns position index, with in pixels, height, and prominence).
See Also