Skip to content

Commit 4316bad

Browse files
Update PVH_KB_NKI_IVIMfit.py
1 parent b96aca9 commit 4316bad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/standardized/PvH_KB_NKI_IVIMfit.py renamed to src/standardized/PVH_KB_NKI_IVIMfit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from src.original.PvH_KB_NKI.DWI_functions_standalone import generate_IVIMmaps_standalone
33
import numpy as np
44

5-
class PvH_KB_NKI_IVIMfit(OsipiBase):
5+
class PVH_KB_NKI_IVIMfit(OsipiBase):
66
"""
77
Bi-exponential fitting algorithm by Petra van Houdt and Koen Baas, NKI
88
"""
@@ -27,15 +27,15 @@ class PvH_KB_NKI_IVIMfit(OsipiBase):
2727
required_initial_guess_optional =False
2828
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
2929

30-
def __init__(self, bvalues=None, bminADC=150, bmaxADC=1000,):
30+
def __init__(self, bvalues=None, thresholds=None,bounds=None,initial_guess=None):
3131
"""
3232
Everything this algorithm requires should be implemented here.
3333
Number of segmentation thresholds, bounds, etc.
3434
3535
Our OsipiBase object could contain functions that compare the inputs with
3636
the requirements.
3737
"""
38-
super(PvH_KB_NKI_IVIMfit, self).__init__(bvalues, bminADC,bmaxADC)
38+
super(PVH_KB_NKI_IVIMfit, self).__init__(bvalues, thresholds,bounds,initial_guess)
3939
self.NKI_algorithm = generate_IVIMmaps_standalone
4040

4141

0 commit comments

Comments
 (0)