Skip to content

Commit

Permalink
Update two_step_IVIM_fit.py
Browse files Browse the repository at this point in the history
changed default option of inversion recovery (IR) to False, as testing data won't have IR
  • Loading branch information
paulienvoorter authored Oct 20, 2023
1 parent 7127a31 commit 9d14454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/original/PV_MUMC/two_step_IVIM_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def fit_least_squares_array(bvalues, dw_data, fitS0=True, bounds=([0.9, 0.0001,
return [Dpar, Fmv, Dmv, S0]


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

0 comments on commit 9d14454

Please sign in to comment.