#include <svkKineticModelCostFunction.h>
|
| itkTypeMacro (svkKineticModelCostFunction, SingleValuedCostFunction) |
|
| svkKineticModelCostFunction () |
|
| ~svkKineticModelCostFunction () |
|
void | GetDerivative (const ParametersType &, DerivativeType &) const |
|
MeasureType | GetValue (const ParametersType ¶meters) const |
|
void | SetNumberOfSignals (int numSignals) |
|
int | GetNumberOfSignals () const |
|
void | SetSignal (float *signal, int signalIndex, string signalName) |
|
vector< map< string, float * > > * | GetSignals () |
|
float | GetSignalAtTime (int signalIndex, int timePt) const |
|
string | GetSignalName (int signalIndex) const |
|
float * | GetSignal (int signalIndex) const |
|
void | SetNumTimePoints (int numTimePoints) |
|
void | SetTR (float TR) |
|
void | SetModelSignal (float *modelSignal, int modelSignalIndex, string modelSignalName) |
|
float | GetModelSignalAtTime (int modelSignalIndex, int timePt) const |
|
float * | GetModelSignal (int modelSignalIndex) const |
|
unsigned int | GetNumberOfOutputPorts (void) const |
|
virtual void | GetKineticModel (const ParametersType ¶meters) const =0 |
|
virtual unsigned int | GetNumberOfParameters (void) const =0 |
|
virtual void | InitNumberOfSignals (void)=0 |
|
virtual void | InitOutputDescriptionVector (vector< string > *outputDescriptionVector) const =0 |
|
virtual void | InitParamBounds (float *lowerBounds, float *upperBounds)=0 |
|
virtual void | InitParamInitialPosition (ParametersType *initialPosition)=0 |
|
virtual void | GetParamFinalScaledPosition (ParametersType *finalPosition)=0 |
|
virtual void GetKineticModel |
( |
const ParametersType & |
parameters | ) |
const |
|
pure virtual |
For a given set of parameter values, compute the model kinetics:
Function to calculate metabolite signal vs time based on parametric model. uses the following : parameters = kinetic model parameters to be fit (1/T1all, Kpl). kineticModelN = model metabolite signal intensity vs time ( pyr, lac, urea) signalN = input signal vs time for each of 3 measured metabolites (pyr, lac, urea) numTimePoints = number of observed time points.
Implemented in svk2SiteIMPyrCostFunction, svk2SiteIMCostFunction, svk2SiteExchangeCostFunction, and svk2SitePerfCostFunction.
float* GetModelSignal |
( |
int |
modelSignalIndex | ) |
const |
|
inline |
float GetModelSignalAtTime |
( |
int |
modelSignalIndex, |
|
|
int |
timePt |
|
) |
| const |
|
inline |
unsigned int GetNumberOfOutputPorts |
( |
void |
| ) |
const |
|
inline |
Get the number of outputs This is fitted signals (first), them parameter maps, e.g.: Outputports: 0 for fitted pyruvate kinetics Outputports: 1 for fitted lactate kinetics Outputports: 2 for fitted urea kinetics Outputports: 3 for T1all map Outputports: 4 for Kpl map Outputports: 5 for Ktrans map Outputports: 5 for K2 map
virtual unsigned int GetNumberOfParameters |
( |
void |
| ) |
const |
|
pure virtual |
int GetNumberOfSignals |
( |
| ) |
const |
|
inline |
virtual void GetParamFinalScaledPosition |
( |
ParametersType * |
finalPosition | ) |
|
|
pure virtual |
Cost function used to minimizing the residual of fitted and observed dynamics. Get the sum of square difference between the input signal and modeled signal at the current set of parameter values.
float* GetSignal |
( |
int |
signalIndex | ) |
const |
|
inline |
float GetSignalAtTime |
( |
int |
signalIndex, |
|
|
int |
timePt |
|
) |
| const |
|
inline |
string GetSignalName |
( |
int |
signalIndex | ) |
const |
|
inline |
vector< map < string, float* > >* GetSignals |
( |
| ) |
|
|
inline |
Returns the cost function value for the current param values: typedef double MeasureType
virtual void InitNumberOfSignals |
( |
void |
| ) |
|
|
pure virtual |
virtual void InitOutputDescriptionVector |
( |
vector< string > * |
outputDescriptionVector | ) |
const |
|
pure virtual |
virtual void InitParamBounds |
( |
float * |
lowerBounds, |
|
|
float * |
upperBounds |
|
) |
| |
|
pure virtual |
virtual void InitParamInitialPosition |
( |
ParametersType * |
initialPosition | ) |
|
|
pure virtual |
void SetModelSignal |
( |
float * |
modelSignal, |
|
|
int |
modelSignalIndex, |
|
|
string |
modelSignalName |
|
) |
| |
|
inline |
void SetNumberOfSignals |
( |
int |
numSignals | ) |
|
|
inline |
Set the kinetic signal for metabolite N
void SetNumTimePoints |
( |
int |
numTimePoints | ) |
|
|
inline |
void SetSignal |
( |
float * |
signal, |
|
|
int |
signalIndex, |
|
|
string |
signalName |
|
) |
| |
|
inline |
vector< map < string, float* > > modelSignalVector |
|
protected |
vector< map < string, float* > > signalVector |
|
protected |
The documentation for this class was generated from the following file: