Package com.xinapse.apps.perfusion
Class AbstractDynamicContrastResult
java.lang.Object
com.xinapse.dynamic.DynamicResult
com.xinapse.apps.perfusion.AbstractDynamicContrastResult
Superclass for the results of dynamic contrast analysis.
-
Constructor Summary
ConstructorDescriptionAbstractDynamicContrastResult
(DynamicModel model, float[] fittedVarValues, float RMSError, float[] fittedConcTissue) Used by sub-class constructors. -
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns a title for the type of report.void
Prints the results to System.out.void
writeReportBody
(ReportGenerator reportGenerator, AbstractDynamicWorker dynamicWorker, float[] concTissue, AIF aif) Writes a report using a ReportGenerator.Methods inherited from class com.xinapse.dynamic.DynamicResult
getFittedCurve, getFittedVarValues, getRMSError, getVarNames, getVarUnits
-
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
Prints the results to System.out.- Parameters:
progName
- the program name used to prefix the results.
-
getResultTitle
Returns a title for the type of report.- Specified by:
getResultTitle
in classDynamicResult
- Returns:
- the result title.
-