Skip to content

Commit

Permalink
corrected bug related to testing of OJ_GU_seg
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarjalnefjord committed Jun 28, 2024
1 parent 227be9f commit 4869ac4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/original/OJ_GU/ivim_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@ def _Ddiff(Y, yb, b, D):

f = _f_from_intercept(A, S0)

if Y.shape[0] == 1:
D = np.array(D)
f = np.array(f)
Dstar = np.array(Dstar)
S0 = np.array(S0)

pars = {'D': D, 'f': f, 'Dstar': Dstar, 'S0': S0}
return pars

0 comments on commit 4869ac4

Please sign in to comment.