Skip to content

Commit 07a6d6a

Browse files
author
IvanARashid
committed
Attribute harmonization. supported_dimensions and supported_priors
1 parent e045d7c commit 07a6d6a

13 files changed

+25
-13
lines changed

src/standardized/ETP_SRI_LinearFitting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ class ETP_SRI_LinearFitting(OsipiBase):
2525
required_bounds_optional = True # Bounds may not be required but are optional
2626
required_initial_guess = False
2727
required_initial_guess_optional = False
28-
accepted_dimensions = 1
2928
# Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = False
3332
supported_initial_guess = False
3433
supported_thresholds = True
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, weighting=None, stats=False):
3738
"""

src/standardized/IAR_LU_biexp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_biexp(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, weighting=None, stats=False):
3738
"""

src/standardized/IAR_LU_modified_mix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_modified_mix(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = False
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, weighting=None, stats=False):
3738
"""

src/standardized/IAR_LU_modified_topopro.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_modified_topopro(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = False
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, weighting=None, stats=False):
3738
"""

src/standardized/IAR_LU_segmented_2step.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_segmented_2step(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = True
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None):
3738
"""

src/standardized/IAR_LU_segmented_3step.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_segmented_3step(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, weighting=None, stats=False):
3738
"""

src/standardized/IAR_LU_subtracted.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ class IAR_LU_subtracted(OsipiBase):
2626
required_bounds_optional = True # Bounds may not be required but are optional
2727
required_initial_guess = False
2828
required_initial_guess_optional = True
29-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None):
3738
"""

src/standardized/OGC_AmsterdamUMC_Bayesian_biexp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ class OGC_AmsterdamUMC_Bayesian_biexp(OsipiBase):
2525
required_bounds_optional = True # Bounds may not be required but are optional
2626
required_initial_guess = False
2727
required_initial_guess_optional = True
28-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
2928

3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = True
34+
supported_dimensions = 1
3535
supported_priors = True
3636

3737
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, fitS0=True, prior_in=None):

src/standardized/OGC_AmsterdamUMC_biexp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ class OGC_AmsterdamUMC_biexp(OsipiBase):
2525
required_bounds_optional = True # Bounds may not be required but are optional
2626
required_initial_guess = False
2727
required_initial_guess_optional = True
28-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
2928

3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = False
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=None, bounds=None, initial_guess=None, fitS0=True):
3738
"""

src/standardized/OGC_AmsterdamUMC_biexp_segmented.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ class OGC_AmsterdamUMC_biexp_segmented(OsipiBase):
2525
required_bounds_optional = True # Bounds may not be required but are optional
2626
required_initial_guess = False
2727
required_initial_guess_optional = True
28-
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most?
2928

3029

3130
# Supported inputs in the standardized class
3231
supported_bounds = True
3332
supported_initial_guess = True
3433
supported_thresholds = True
34+
supported_dimensions = 1
35+
supported_priors = False
3536

3637
def __init__(self, bvalues=None, thresholds=150, bounds=None, initial_guess=None):
3738
"""

0 commit comments

Comments
 (0)