From ea77f307ac9e92b4b5d71251606656e53a7ad390 Mon Sep 17 00:00:00 2001 From: vedina Date: Sun, 3 Nov 2024 16:36:33 +0200 Subject: [PATCH] typo was not fixed everywhere --- .../protocols/calibration/calibration_model.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ramanchada2/protocols/calibration/calibration_model.py b/src/ramanchada2/protocols/calibration/calibration_model.py index d7d820b5..8ef52e5f 100644 --- a/src/ramanchada2/protocols/calibration/calibration_model.py +++ b/src/ramanchada2/protocols/calibration/calibration_model.py @@ -101,7 +101,7 @@ def derive_model_x( find_kw={"wlen": 200, "width": 1}, fit_kw={}, should_fit=False, - match_method: Literal["cluster", "armin2d", "assignment"] = "cluster", + match_method: Literal["cluster", "argmin2d", "assignment"] = "cluster", interpolator_method: Literal["rbf", "pchip", "cubic_spline"] = "rbf", extrapolate=True, ): @@ -155,7 +155,7 @@ def _derive_model_curve( fit_peaks_kw=None, should_fit=False, name="X calibration", - match_method: Literal["cluster", "armin2d", "assignment"] = "cluster", + match_method: Literal["cluster", "argmin2d", "assignment"] = "cluster", interpolator_method: Literal["rbf", "pchip", "cubic_spline"] = "rbf", extrapolate=True, ): @@ -191,7 +191,7 @@ def derive_model_curve( fit_peaks_kw={}, should_fit=False, name="X calibration", - match_method: Literal["cluster", "armin2d", "assignment"] = "cluster", + match_method: Literal["cluster", "argmin2d", "assignment"] = "cluster", interpolator_method: Literal["rbf", "pchip", "cubic_spline"] = "rbf", extrapolate=True, ): @@ -315,7 +315,7 @@ def calibration_model_factory( should_fit=False, prominence_coeff=3, si_profile="Pearson4", - match_method: Literal["cluster", "armin2d", "assignment"] = "cluster", + match_method: Literal["cluster", "argmin2d", "assignment"] = "cluster", interpolator_method: Literal["rbf", "pchip", "cubic_spline"] = "rbf", extrapolate=True, ):