|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.apps.perfusion.AbstractDynamicContrastModel
public abstract class AbstractDynamicContrastModel
A Model that can be fitted to dynamic data where contrast agent is injected, and the tissue response to an input function is measured.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.xinapse.dynamic.DynamicModel |
|---|
DynamicModel.SpecifierPanel |
| Field Summary | |
|---|---|
protected float[] |
Cpa
The blood plasma concentration in the feeding artery, Cpa(t). |
| Constructor Summary | |
|---|---|
protected |
AbstractDynamicContrastModel(java.lang.String name,
java.lang.String description,
java.lang.String[] varNames,
java.lang.String[] varUnits)
Constructor used by sub-classes. |
| Method Summary | |
|---|---|
boolean |
computesRMSDiff()
Returns whether the dynamic contrast model computed the RMS difference between the model fit and the data. |
abstract AbstractDynamicContrastResult |
fit(float[] Ct,
int col,
int row,
int slice,
AutoCorrelationEstimate autoCorrelationEstimate)
Calculate the model parameters that best fit the data. |
boolean |
getCorrectAutoCorrelation()
Returns false, since the DynamicContrastModels do not do a correction for temporal autocorrelation. |
boolean |
getDoBonferroni()
Returns false, since Bonferroni correction is not performed because significance value for the fitted parameters are not computed. |
float |
getDt()
Returns the time between data samples. |
java.lang.String |
getModelDescription()
Returns a String describing this dynamic contrast model. |
java.lang.String |
getModelName()
Returns the model name. |
ColourMapping[] |
getVarColourMappings()
Returns an array of ColourMappings, applicable for each of the output images. |
java.lang.String[] |
getVarNames()
Returns an array of the names of the fitted variables, in an order that matches the order of the variable units returned by getVarUnits(). |
java.lang.String[] |
getVarUnits()
Returns an array of the fitted variables units, in an order that matches the order of the variable names returned by getVarNames(). |
void |
setBonferroniN(float nTests)
Does nothing, since Bonferroni correction is not performed because significance value for the fitted parameters are not computed. |
java.lang.String |
toString()
Returns the name of this DCEMRIModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected float[] Cpa
| Constructor Detail |
|---|
protected AbstractDynamicContrastModel(java.lang.String name,
java.lang.String description,
java.lang.String[] varNames,
java.lang.String[] varUnits)
name - the model name.description - a short description of the model.varNames - the array of fitted variable names.varUnits - the units of the fitted variables.| Method Detail |
|---|
public java.lang.String getModelName()
getModelName in interface DynamicModelpublic java.lang.String getModelDescription()
getModelDescription in interface DynamicModelpublic final java.lang.String[] getVarNames()
getVarNames in interface DynamicModelpublic final java.lang.String[] getVarUnits()
getVarUnits in interface DynamicModelpublic ColourMapping[] getVarColourMappings()
getVarColourMappings in interface DynamicModelpublic boolean computesRMSDiff()
computesRMSDiff in interface DynamicModel
public float getDt()
throws java.lang.IllegalStateException
getDt in interface DynamicModeljava.lang.IllegalStateExceptionpublic final boolean getDoBonferroni()
getDoBonferroni in interface DynamicModelpublic final void setBonferroniN(float nTests)
setBonferroniN in interface DynamicModelnTests - the number of independent fits that will be performed by the model.
public abstract AbstractDynamicContrastResult fit(float[] Ct,
int col,
int row,
int slice,
AutoCorrelationEstimate autoCorrelationEstimate)
fit in interface DynamicModelCt - the tissue contrast agent concentration function, Ct(t), post-contrast.col - the image column number that is being analysed - ignored.row - the image column number that is being analysed - ignored.slice - the slice number - ignored.autoCorrelationEstimate - - ignored.public boolean getCorrectAutoCorrelation()
getCorrectAutoCorrelation in interface DynamicModelpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||