Skip to content

Commit

Permalink
Testing for >1D inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanARashid committed Jan 19, 2024
1 parent 6a1cff1 commit f60cd1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/IVIMmodels/unit_tests/simple_test_run_of_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def ivim_model(b, S0=1, f=0.1, Dstar=0.01, D=0.001):
return S0*(f*np.exp(-b*Dstar) + (1-f)*np.exp(-b*D))

signals = ivim_model(bvalues)
data = np.array([signals, signals, signals])
#print(data)
signals = data

#model = ETP_SRI_LinearFitting(thresholds=[200])
if kwargs:
Expand All @@ -33,7 +36,7 @@ def ivim_model(b, S0=1, f=0.1, Dstar=0.01, D=0.001):

#model1 = ETP_SRI_LinearFitting(thresholds=[200])
#model2 = IAR_LU_biexp(bounds=([0,0,0,0], [1,1,1,1]))
model2 = IAR_LU_modified_mix()
#model2 = IAR_LU_modified_mix()
model2 = OGC_AmsterdamUMC_biexp()

#dev_test_run(model1)
Expand Down

0 comments on commit f60cd1e

Please sign in to comment.