Click or drag to resize

RelaxISPlugin_ClassifierApplyClassResultAsync Method

Apply a specific class result to the spectrum.

Namespace: RelaxIS_SDK.Plugins
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
public abstract Task ApplyClassResultAsync(
	ImpedanceSpectrum spectrum,
	ExecutionMode mode,
	ClassResult result,
	ClassificationResult fullResult,
	CancellationToken cancel
)

Parameters

spectrum  ImpedanceSpectrum
The spectrum.
mode  ExecutionMode
The mode that the classifier is running as.
result  ClassResult
The individual result to apply to the spectrum. May be null if mode is StandaloneRun.
fullResult  ClassificationResult
The full result.
cancel  CancellationToken
A cancellation token that can signal when the user wants to interrupt the operation.

Return Value

Task
Remarks
The result is one of the results returned by RunClassificationAsync(ImpedanceSpectrum, ExecutionMode, ClassifierSettingsBase, ClassifierClassCollection, CancellationToken), but not neccessarily the best one. It can also be null in cases where a standalone run without user interaction is performed. In this case one of the results of the classifier should be selected automatically.
See Also