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
refactor: remove redundant np.asarray/np.array on self.bvalues (PR #165 review feedback)
self.bvalues is already guaranteed to be np.ndarray from OsipiBase.__init__(),
so re-wrapping it with np.asarray() or np.array() is a no-op / unnecessary copy.
Addresses review feedback from @oliverchampion on PR #165.
Changes across 25 files:
- OsipiBase.osipi_fit(): use_bvalues = self.bvalues (was np.asarray)
- OsipiBase.osipi_simple_bias_and_RMSE_test(): bvalues = self.bvalues (was np.asarray)
- All 23 standardized algorithms: bvalues = self.bvalues (was np.array/np.asarray)
0 commit comments