Skip to content
Snippets Groups Projects
Commit ef950757 authored by Paolo Veglio's avatar Paolo Veglio
Browse files

removed dummy tests from module and moved to test_conf

parent 40b839f4
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment