15 #include <vnl/algo/vnl_fft_1d.h> 84 itkExceptionMacro(
"No Time Grid Set! Cannot Calculate Signal");
92 unsigned int timeSteps = this->
m_TimeGrid.GetSize();
101 aterialInputFunction, k2);
107 mitk::ModelBase::ModelResultType::iterator signalPos = signal.begin();
111 for (mitk::ModelBase::ModelResultType::const_iterator res = convolution.begin(); res != convolution.end(); ++res, ++signalPos)
113 *signalPos = K1 * (*res);
129 return newClone.GetPointer();
static const std::string NAME_PARAMETER_k1
~OneTissueCompartmentModel() override
ModelTraitsInterface::ParametersType ParametersType
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
Helper for itk implementation of vnl fourier transformation This namespace provides functions for the...
static const unsigned int NUMBER_OF_PARAMETERS
std::string GetModelType() const override
itk::LightObject::Pointer InternalClone() const override
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
const AterialInputFunctionType GetAterialInputFunction(TimeGridType currentTimeGrid) const
ParametersSizeType GetNumberOfParameters() const override
OneTissueCompartmentModel()
ModelResultType ComputeModelfunction(const ParametersType ¶meters) const override
ModelTraitsInterface::ParametersSizeType ParametersSizeType
static const std::string UNIT_PARAMETER_k2
static const unsigned int POSITION_PARAMETER_k1
ModelTraitsInterface::ModelResultType ModelResultType
std::string GetModelDisplayName() const override
itk::Array< double > AterialInputFunctionType
static const std::string NAME_PARAMETER_k2
static const std::string MODEL_DISPLAY_NAME
static const unsigned int POSITION_PARAMETER_k2
ParameterNamesType GetParameterNames() const override
ModelTraitsInterface::ParameterNamesType ParameterNamesType
ParamterUnitMapType GetParameterUnits() const override
static const std::string UNIT_PARAMETER_k1
itk::Array< double > convoluteAIFWithExponential(mitk::ModelBase::TimeGridType timeGrid, mitk::AIFBasedModelBase::AterialInputFunctionType aif, double lambda)
std::map< ParameterNameType, std::string > ParamterUnitMapType