Package qa.analyser

Class QATestResult

java.lang.Object
qa.analyser.QATestResult
All Implemented Interfaces:
Cloneable

public class QATestResult extends Object implements Cloneable
Processed and summarised detection data for a single or group of tests and a single detector should contain enough data and functionality to provide everything needed for reporting.
Author:
dg50
  • Field Details

  • Constructor Details

    • QATestResult

      public QATestResult(QATestDataUnit testDataUnit, PamDataBlock testDetector)
      Parameters:
      testDataUnit -
      testDetector -
  • Method Details

    • getTestDataUnit

      public QATestDataUnit getTestDataUnit()
      Returns:
      the testDataUnit
    • getTestDetector

      public PamDataBlock getTestDetector()
      Returns:
      the testDetector
    • getSequenceSummary

      public SequenceSummary getSequenceSummary()
      Returns:
      the sequenceSummary
    • setSequenceSummary

      public void setSequenceSummary(SequenceSummary sequenceSummary)
      Parameters:
      sequenceSummary - the sequenceSummary to set
    • combineReports

      public static QATestResult combineReports(QATestResult[] qaTestReports) throws QAReportException
      Combine an array of reports into a single report, creating single result arrays with data for all ranges.
      Parameters:
      qaTestReports - array of reports
      Returns:
      combined report.
      Throws:
      QAReportException
    • getRangeRange

      public double[] getRangeRange()
      Returns:
      range of range values (min and max)
    • getSoundAnalysis

      public QATestAnalysis getSoundAnalysis()
      Returns:
      the soundAnalysis
    • setSoundAnalysis

      public void setSoundAnalysis(QATestAnalysis soundAnalysis)
      Parameters:
      soundAnalysis - the soundAnalysis to set
    • getSequenceAnalysis

      public QATestAnalysis getSequenceAnalysis()
      Returns:
      the sequenceAnalysis
    • setSequenceAnalysis

      public void setSequenceAnalysis(QATestAnalysis sequenceAnalysis)
      Parameters:
      sequenceAnalysis - the sequenceAnalysis to set
    • getTestAnalysis

      public QATestAnalysis getTestAnalysis(int seqOrSound)
      Get one of the test analysis sets.
      Parameters:
      seqOrSound - 0 = Sequence, 1 = Single Sounds.
      Returns:
      Analysis set