Skip to content

Commit 06ebb05

Browse files
author
IvanARashid
committed
Changes bvalues to use_bvalues
1 parent d63bb67 commit 06ebb05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrappers/OsipiBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def osipi_fit_full_volume(self, data, bvalues=None, **kwargs):
146146
for key in self.result_keys:
147147
results[key] = np.empty(list(data.shape[:-1]))
148148

149-
b0_indices = np.where(bvalues == 0)[0]
149+
b0_indices = np.where(use_bvalues == 0)[0]
150150
b0_mean = np.mean(data[..., b0_indices], axis=-1)
151151

152152
normalization_factors = np.array([b0_mean for i in range(data.shape[-1])])

0 commit comments

Comments
 (0)