Skip to content

Commit

Permalink
Update test_SI2Conc_LEK_Edinburgh_UK.py
Browse files Browse the repository at this point in the history
Edited test to use range of baseline points corresponding to change in function definition
  • Loading branch information
stadmill committed Sep 5, 2023
1 parent db2884e commit 40984f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/SI_to_Conc/test_SI2Conc_LEK_Edinburgh_UK.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def test_LEK_UoEdinburgh_UK_SI2Conc(label, fa, tr, T1base, BLpts, r1, s_array, c

#Prepare input data
#Nothing to do for this function

# run test
tic = perf_counter()
conc_curve = SI2Conc.SI2Conc(s_array,tr,fa,T1base,BLpts,S0=None)
conc_curve = SI2Conc.SI2Conc(s_array,tr,fa,T1base,[1,BLpts],S0=None)
exc_time = 1e6 * (perf_counter() - tic)

# log results
Expand All @@ -44,4 +44,3 @@ def test_LEK_UoEdinburgh_UK_SI2Conc(label, fa, tr, T1base, BLpts, r1, s_array, c
# testing
conc_array=conc_array*r1 # This function doesn't include r1, so multiply it out before testing
np.testing.assert_allclose( [conc_curve[1:]], [conc_array[1:]], rtol=r_tol, atol=a_tol)

0 comments on commit 40984f7

Please sign in to comment.