You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## We should make a wrapper that runs this for a range of different settings, such as b thresholds, bounds, etc.
45
+
## An additional inputs to these functions could perhaps be a "settings" class with attributes that are the settings to the
46
+
## algorithms. I.e. bvalues, thresholds, bounds, initial guesses.
47
+
## That way, we can write something that defines a range of settings, and then just run them through here.
50
48
51
-
gd=GenerateData()
52
-
gd_signal=gd.ivim_signal(D, Dp, f, 1, bvals)
49
+
#gd = GenerateData()
50
+
#gd_signal = gd.ivim_signal(D, Dp, f, 1, bvals)
53
51
54
-
#fit = LinearFit() # This is the old code by ETP
55
-
fit=ETP_SRI_LinearFitting() # This is the standardized format by IAR, which every algorithm will be implemented with
52
+
##fit = LinearFit() # This is the old code by ETP
53
+
#fit = ETP_SRI_LinearFitting() # This is the standardized format by IAR, which every algorithm will be implemented with
56
54
57
-
[f_fit, Dp_fit, D_fit] =fit.ivim_fit(gd_signal, bvals) # Note that I have transposed Dp and D. We should decide on a standard order for these. I usually go with f, Dp, and D ordered after size.
#[f_fit, Dp_fit, D_fit] = fit.ivim_fit(gd_signal, bvals) # Note that I have transposed Dp and D. We should decide on a standard order for these. I usually go with f, Dp, and D ordered after size.
0 commit comments