Skip to content

Commit 4cdaaad

Browse files
Update two_step_IVIM_fit.py
changed default option of inversion recovery (IR) to False, as testing data won't have IR
1 parent bd933dd commit 4cdaaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/original/PV_MUMC/two_step_IVIM_fit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def fit_least_squares_array(bvalues, dw_data, fitS0=True, bounds=([0.9, 0.0001,
5454
return [Dpar, Fmv, Dmv, S0]
5555

5656

57-
def fit_least_squares(bvalues, dw_data, IR=True, S0_output=False, fitS0=True,
57+
def fit_least_squares(bvalues, dw_data, IR=False, S0_output=False, fitS0=True,
5858
bounds=([0.9, 0.0001, 0.0, 0.0025], [1.1, 0.0025, 0.2, 0.2]), cutoff=200):
5959
"""
6060
This is the LSQ implementation, in which we first estimate Dpar using a curve fit to b-values>=cutoff;

0 commit comments

Comments
 (0)