From 9d144542d888ad4e05e39c64ddc5a9e42589ac49 Mon Sep 17 00:00:00 2001 From: Paulien Voorter <91143388+paulienvoorter@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:25:32 +0200 Subject: [PATCH] Update two_step_IVIM_fit.py changed default option of inversion recovery (IR) to False, as testing data won't have IR --- src/original/PV_MUMC/two_step_IVIM_fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/original/PV_MUMC/two_step_IVIM_fit.py b/src/original/PV_MUMC/two_step_IVIM_fit.py index 0bf861f..2c8ec95 100644 --- a/src/original/PV_MUMC/two_step_IVIM_fit.py +++ b/src/original/PV_MUMC/two_step_IVIM_fit.py @@ -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;