Class DCEMRIModel

All Implemented Interfaces:
DynamicModel

public abstract class DCEMRIModel extends AbstractDynamicContrastModel
The superclass of models that can be fitted to DCE-MRI data.
  • Constructor Details

    • DCEMRIModel

      protected DCEMRIModel(String name, String description, String[] varNames, 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 variables that are fitted in the model.
      varUnits - the units for the each of the fitted variables.
  • Method Details

    • getOptionSpecifier

      public abstract 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(String s) throws 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 AbstractDynamicContrastModel.getModelName() method for the model.
      Returns:
      a DCEMRIModel Object corresponding to a String.
      Throws:
      InvalidArgumentException - if the string is invalid.