CADETProcess.comparison.PeakPosition#
- class CADETProcess.comparison.PeakPosition(reference, components=None, use_total_concentration=False, use_total_concentration_components=True, start=None, end=None, transform=None, resample=True, smooth=False, normalize=False)[source]#
Absolute difference in peak peak position difference metric.
- Attributes:
- reference_peakslist of tuple
Contains the peaks found in the reference.
- normalize_metricsbool
Indicates whether normalization is applied to the peak height difference scores.
- normalization_factorlist of list
Contains the normalization factors for each peak in each component.
Methods
__call__
(solution)Compute the difference between the reference solution and the input solution.
Decorator to automatically check reference and solution dimensions.
evaluate
(solution)Compute the difference between the reference solution and the input solution.
Decorator to automatically smooth and normalize solution.
slice_and_transform
(solution)Slice the solution and applies the transform callable (if defined).
Decorator to automatically slice solution.
Decorator to automatically transform solution data.