Skip to content

Commit b494bed

Browse files
author
IvanARashid
committed
Minor bugfix. Changed call to osipi_fit instead of ivim_fit
1 parent 5700883 commit b494bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/IVIMmodels/unit_tests/test_ivim_fit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ def test_ivim_fit_saved(name, bvals, data, algorithm):
9797
#[f_fit, Dp_fit, D_fit] = fit.ivim_fit(signal, bvals)
9898
#npt.assert_allclose([data['f'], data['D']], [f_fit, D_fit], atol=tolerance)
9999
#npt.assert_allclose(data['Dp'], Dp_fit, atol=1e-1) # go easy on the perfusion as it's a linear fake
100-
[f_fit, Dp_fit, D_fit] = fit.ivim_fit(signal, bvals)
100+
[f_fit, Dp_fit, D_fit] = fit.osipi_fit(signal, bvals)
101101
npt.assert_allclose([data['f'], data['D']], [f_fit, D_fit], atol=tolerance)
102102
npt.assert_allclose(data['Dp'], Dp_fit, atol=1e-1) # go easy on the perfusion as it's a linear fake

0 commit comments

Comments
 (0)