SpectroscopyCommandsExecutePeakFindingAndFitting Method |
Executes peak searching and fitting across one or multiple spectra and writes output to the provided peak table.
Namespace: Altaxo.Science.SpectroscopyAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static List<(XAndYColumn orgCols, DataColumn xPreprocessedCol, DataColumn yPreprocessedCol, IReadOnlyList<(IReadOnlyList<PeakDescription> , int , int )> fittingResult)> ExecutePeakFindingAndFitting(
ListOfXAndYColumn inputData,
PeakSearchingAndFittingOptions doc,
DataTable peakTable,
IProgress<string>? progressReporter,
CancellationToken cancellationTokenSoft,
CancellationToken cancellationTokenHard
)
Parameters
- inputData ListOfXAndYColumn
- Input spectra bundle.
- doc PeakSearchingAndFittingOptions
- Peak searching and fitting options.
- peakTable DataTable
- Destination table to receive output columns.
- progressReporter IProgressString
- Optional progress reporter.
- cancellationTokenSoft CancellationToken
- Token for soft cancellation (best-effort).
- cancellationTokenHard CancellationToken
- Token for immediate cancellation of fitting.
Return Value
ListValueTupleXAndYColumn,
DataColumn,
DataColumn,
IReadOnlyListValueTupleIReadOnlyListPeakDescription,
Int32,
Int32A list of results per spectrum with references to created columns and fitting results.
See Also