13 #ifndef mitkExpDecayOffsetModel_h
14 #define mitkExpDecayOffsetModel_h
46 itkFactorylessNewMacro(
Self);
145 void operator=(
const Self&);
#define MITKMODELFIT_EXPORT
Exponential decay model with baseline offset: y(x) = y0 * exp(-k*x) + y_bl.
Superclass::ParametersSizeType ParametersSizeType
std::string GetYAxisName() const override
Returns the display name of the y-axis (e.g. "Signal Intensity").
static const std::string FUNCTION_STRING
Function string representation of the model equation.
static const std::string MODEL_TYPE
Type category of this model.
static const std::string Y_AXIS_NAME
Display name for the y-axis.
static const std::string MODEL_DISPLAY_NAME
Display name of this model.
static const std::string X_AXIS_UNIT
Unit for the x-axis.
std::string GetModelDisplayName() const override
Returns the human-readable display name of the model.
ExpDecayOffsetModel(const ExpDecayOffsetModel &source)
static const std::string NAME_PARAMETER_y0
Name string for the y-intercept parameter.
ParametersSizeType GetNumberOfParameters() const override
Returns the number of parameters that must be defined when using the model to compute the signal (Get...
static const std::string UNIT_PARAMETER_k
Unit of the rate constant parameter.
ParameterNamesType GetParameterNames() const override
Returns the names of parameters that must be defined when using the model to compute the signal (GetS...
std::string GetXAxisUnit() const override
Returns the unit of the x-axis (e.g. "s", "ms").
static const unsigned int POSITION_PARAMETER_y0
Index position of y-intercept in the parameter vector.
static const std::string X_AXIS_NAME
Display name for the x-axis.
static const unsigned int NUMBER_OF_STATIC_PARAMETERS
Total number of static parameters (0).
static const std::string X_NAME
Name of the independent variable.
itk::SmartPointer< const Self > ConstPointer
void SetStaticParameter(const ParameterNameType &name, const StaticParameterValuesType &values) override
Sets a single static parameter by name.
std::string GetYAxisUnit() const override
Returns the unit of the y-axis.
ParamterUnitMapType GetParameterUnits() const override
Returns the unit strings for all model parameters.
std::string GetXAxisName() const override
Returns the display name of the x-axis (e.g. "Time").
Superclass::ParameterNameType ParameterNameType
mitkCloneMacro(ExpDecayOffsetModel)
static const std::string Y_AXIS_UNIT
Unit for the y-axis.
static const std::string NAME_PARAMETER_y_bl
Name string for the baseline parameter.
static const std::string UNIT_PARAMETER_y0
Unit of the y-intercept parameter.
static const std::string UNIT_PARAMETER_y_bl
Unit of the baseline parameter.
itk::SmartPointer< Self > Pointer
static const unsigned int POSITION_PARAMETER_y_bl
Index position of baseline in the parameter vector.
ParametersSizeType GetNumberOfStaticParameters() const override
Returns the number of static parameters.
static const std::string NAME_PARAMETER_k
Name string for the rate constant parameter.
static const unsigned int NUMBER_OF_PARAMETERS
Total number of model parameters (3).
ModelResultType ComputeModelfunction(const ParametersType ¶meters) const override
Computes the model function for the given parameters.
~ExpDecayOffsetModel() override
StaticParameterValuesType GetStaticParameterValue(const ParameterNameType &name) const override
Retrieves a single static parameter value by name.
mitk::ModelBase Superclass
std::string GetXName() const override
Returns the name of the independent variable used by the model (e.g. "x").
std::string GetModelType() const override
Returns the type/category string of the model (e.g. "Linear", "Pharmacokinetic").
ParameterNamesType GetStaticParameterNames() const override
Returns the names of static parameters used when computing the signal.
FunctionStringType GetFunctionString() const override
Returns a parsable function string representing the model equation.
static const unsigned int POSITION_PARAMETER_k
Index position of rate constant in the parameter vector.
Base class for (dynamic) models.
ModelTraitsInterface::ParametersSizeType ParametersSizeType
ModelTraitsInterface::ParameterNamesType ParameterNamesType
std::vector< StaticParameterValueType > StaticParameterValuesType
ModelTraitsInterface::ParameterNameType ParameterNameType
ModelTraitsInterface::ModelResultType ModelResultType
ModelTraitsInterface::ParametersType ParametersType
std::string FunctionStringType
Type for the function string representation of the model.
std::map< ParameterNameType, std::string > ParamterUnitMapType
Map type associating parameter names to their unit strings.
Find image slices visible on a given plane.