From ef950757d67e574fc8ca2264c60329d88a82bc22 Mon Sep 17 00:00:00 2001 From: Paolo Veglio <paolo.veglio@ssec.wisc.edu> Date: Thu, 2 Feb 2023 22:53:25 +0000 Subject: [PATCH] removed dummy tests from module and moved to test_conf --- mvcm/conf.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/mvcm/conf.py b/mvcm/conf.py index bc586ef..2c48b0a 100644 --- a/mvcm/conf.py +++ b/mvcm/conf.py @@ -1,26 +1,6 @@ import numpy as np -def test(flipped=False): - bt = np.arange(265, 275) - if flipped is False: - thr = np.array([267, 270, 273, 1, 1]) - else: - thr = np.array([273, 270, 267, 1, 1]) - c = conf_test(bt, thr) - print(c) - - -def test_dble(flipped=False): - bt = np.arange(260, 282) - if flipped is False: - thr = np.array([264, 267, 270, 273, 276, 279, 1, 1]) - else: - thr = np.array([279, 276, 273, 270, 267, 264, 1, 1]) - c = conf_test_dble(bt, thr) - print(c) - - def conf_test_new(rad: np.ndarray, thr: np.ndarray) -> np.ndarray: """Assuming a linear function between min and max confidence level, the plot below shows -- GitLab