CADETProcess.comparison.PeakPosition

Contents

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.

checks_dimensions()

Decorator to automatically check reference and solution dimensions.

evaluate(solution)

Compute the difference between the reference solution and the input solution.

resamples_smoothes_and_normalizes_solution()

Decorator to automatically smooth and normalize solution.

slice_and_transform(solution)

Slice the solution and applies the transform callable (if defined).

slices_solution()

Decorator to automatically slice solution.

transforms_solution()

Decorator to automatically transform solution data.