Package com.xinapse.apps.perfusion
Class DCEMRIModel
java.lang.Object
com.xinapse.apps.perfusion.AbstractDynamicContrastModel
com.xinapse.apps.perfusion.DCEMRIModel
- All Implemented Interfaces:
DynamicModel
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
aif, nAIF
-
Constructor Summary
ModifierConstructorDescriptionprotected
DCEMRIModel
(String name, String description, String[] varNames, String[] varUnits) Constructor used by sub-classes. -
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the specifier used to select the this model.static DCEMRIModel
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, setInputFunction, toString
-
Constructor Details
-
DCEMRIModel
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 variables that are fitted in the model.varUnits
- the units for the each of the fitted variables.
-
-
Method Details
-
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
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 theAbstractDynamicContrastModel.getModelName()
method for the model.- Returns:
- a DCEMRIModel Object corresponding to a String.
- Throws:
InvalidArgumentException
- if the string is invalid.
-