com.xinapse.apps.perfusion
Class DCEMRIModel

java.lang.Object
  extended by com.xinapse.apps.perfusion.AbstractDynamicContrastModel
      extended by com.xinapse.apps.perfusion.DCEMRIModel
All Implemented Interfaces:
DynamicModel

public abstract class DCEMRIModel
extends AbstractDynamicContrastModel

The superclass of models that can be fitted to DCE-MRI data.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.xinapse.dynamic.DynamicModel
DynamicModel.SpecifierPanel
 
Field Summary
 
Fields inherited from class com.xinapse.apps.perfusion.AbstractDynamicContrastModel
Cpa
 
Constructor Summary
protected DCEMRIModel(java.lang.String name, java.lang.String description, java.lang.String[] varNames, java.lang.String[] varUnits)
          Constructor used by sub-classes.
 
Method Summary
abstract  java.lang.String getOptionSpecifier()
          Returns the specifier used to select the this model.
static DCEMRIModel newInstance(java.lang.String s)
          Returns an DCEMRIModel Object corresponding to a string.
 
Methods inherited from class com.xinapse.apps.perfusion.AbstractDynamicContrastModel
computesRMSDiff, fit, getCorrectAutoCorrelation, getDoBonferroni, getDt, getModelDescription, getModelName, getVarColourMappings, getVarNames, getVarUnits, setBonferroniN, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DCEMRIModel

protected DCEMRIModel(java.lang.String name,
                      java.lang.String description,
                      java.lang.String[] varNames,
                      java.lang.String[] varUnits)
Constructor used by sub-classes.

Parameters:
name - the name of the model, used a button label.
description - a description of the model, used in Tooltips.
varNames - the names of the varibles that are fitted in the model.
varUnits - the units for the each of the fitted variables.
Method Detail

getOptionSpecifier

public abstract java.lang.String getOptionSpecifier()
Returns the specifier used to select the this model. The option specifier used must not clash with the option specifier used for any other models. This is used for text-mode processing to select the model from the command line. Run the DCEMRI program from the command-line with no arguments to see a list of specifiers currently in use.

Returns:
the Option specifier for the model.

newInstance

public static DCEMRIModel newInstance(java.lang.String s)
                               throws com.xinapse.util.InvalidArgumentException
Returns an DCEMRIModel Object corresponding to a string.

Parameters:
s - a String from which the analysis technique will be interpreted. This shold be one of the model names generated by the getModelName() method for the model.
Returns:
a DCEMRIModel Object corresponding to a String.
Throws:
com.xinapse.util.InvalidArgumentException - if the string is invalid.


Copyright 2006-2011 Xinapse Systems Limited. All Rights Reserved.