This commit is contained in:
Josh Burman 2021-10-29 05:57:11 +00:00
parent 8ee3b0c7d2
commit 6b1bbda169

View File

@ -0,0 +1,12 @@
# otherwise known as the Test Characteristic Curve (TCC)
class TestResponseFunction():
def __init__(self, irf):
self.irf = irf
def calculate(self, items, **kwargs):
result = 0
for item in items:
result += irf.calculate(b_param=item.b_param, theta=kwargs['theta'])
return result