Skip to content

Commit 90e7efe

Browse files
committed
fix: set PV_MUMC_biexp fallback params to 0,0,0 on optimizer failure
1 parent 6fd9dc7 commit 90e7efe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/standardized/PV_MUMC_biexp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def ivim_fit(self, signals, bvalues=None):
8181
self.thresholds = 200
8282

8383
# Default fallback parameters (D, f, Dp) used if the optimizer fails
84-
DEFAULT_PARAMS = [0.003, 0.1, 0.05]
84+
DEFAULT_PARAMS = [0, 0, 0]
8585

8686
try:
8787
fit_results = self.PV_algorithm(bvalues, signals, bounds=bounds, cutoff=self.thresholds)

0 commit comments

Comments
 (0)