Class AbstractDynamicContrastResult

java.lang.Object
com.xinapse.dynamic.DynamicResult
com.xinapse.apps.perfusion.AbstractDynamicContrastResult

public abstract class AbstractDynamicContrastResult extends DynamicResult
Superclass for the results of dynamic contrast analysis.
  • Constructor Details

    • AbstractDynamicContrastResult

      public AbstractDynamicContrastResult(DynamicModel model, float[] fittedVarValues, float RMSError, float[] fittedConcTissue)
      Used by sub-class constructors.
      Parameters:
      model - the DynamicModel that generated this result.
      fittedVarValues - the values of the fitted/calculated variables.
      RMSError - the root-mean-square error between the model and the data, if applicable.
      fittedConcTissue - the concentration-time curve for the model fit.
  • Method Details

    • writeReportBody

      public void writeReportBody(ReportGenerator reportGenerator, AbstractDynamicWorker dynamicWorker, float[] concTissue, AIF aif) throws IOException, com.lowagie.text.DocumentException
      Writes a report using a ReportGenerator. This method adds nothing to the report - the method must be overridden if you want the report to contain more than what is common to all reports.
      Parameters:
      reportGenerator - the ReportGenerator.
      dynamicWorker - the AbstractDynamicWorker that generated the result.
      concTissue - the concentration values in the tissue.
      aif - the blood plasma concentration values in the feeding artery.
      Throws:
      IOException - if the report cannot be generated because of an IOException.
      com.lowagie.text.DocumentException - if there is a problem with inserting the information into the report.
    • print

      public void print(String progName)
      Prints the results to System.out.
      Parameters:
      progName - the program name used to prefix the results.
    • getResultTitle

      public abstract String getResultTitle()
      Returns a title for the type of report.
      Specified by:
      getResultTitle in class DynamicResult
      Returns:
      the result title.