PeakFittingByIncrementalPeakAdditionExecute(Double, Double, IEnumerablePeakDescription, CancellationToken) Method |
Fits peaks to the provided region by incrementally adding peaks.
Namespace: Altaxo.Science.Spectroscopy.PeakFittingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic List<PeakDescription> Execute(
double[] xArray,
double[] yArray,
IEnumerable<PeakDescription> peakDescriptions,
CancellationToken cancellationToken
)
Parameters
- xArray Double
- The x-values of the region.
- yArray Double
- The y-values of the region (may be modified by baseline subtraction).
- peakDescriptions IEnumerablePeakDescription
- Peak descriptions from the previous peak searching step.
- cancellationToken CancellationToken
- Token used to cancel this task.
Return Value
ListPeakDescriptionA list of peak descriptions for the fitted peaks.
See Also