CADETProcess.comparison.Norm#
- class CADETProcess.comparison.Norm(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]#
Norm difference metric.
- Attributes:
- orderint
The order of the norm.
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.