Package qa.analyser
Class QATestResult
java.lang.Object
qa.analyser.QATestResult
- All Implemented Interfaces:
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 Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QATestResult
combineReports
(QATestResult[] qaTestReports) Combine an array of reports into a single report, creating single result arrays with data for all ranges.double[]
getTestAnalysis
(int seqOrSound) Get one of the test analysis sets.void
setSequenceAnalysis
(QATestAnalysis sequenceAnalysis) void
setSequenceSummary
(SequenceSummary sequenceSummary) void
setSoundAnalysis
(QATestAnalysis soundAnalysis)
-
Field Details
-
SEQUENCE_ANAL_SET
public static final int SEQUENCE_ANAL_SET- See Also:
-
SOUND_ANAL_SET
public static final int SOUND_ANAL_SET- See Also:
-
-
Constructor Details
-
QATestResult
- Parameters:
testDataUnit
-testDetector
-
-
-
Method Details
-
getTestDataUnit
- Returns:
- the testDataUnit
-
getTestDetector
- Returns:
- the testDetector
-
getSequenceSummary
- Returns:
- the sequenceSummary
-
setSequenceSummary
- Parameters:
sequenceSummary
- the sequenceSummary to set
-
combineReports
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
- Returns:
- the soundAnalysis
-
setSoundAnalysis
- Parameters:
soundAnalysis
- the soundAnalysis to set
-
getSequenceAnalysis
- Returns:
- the sequenceAnalysis
-
setSequenceAnalysis
- Parameters:
sequenceAnalysis
- the sequenceAnalysis to set
-
getTestAnalysis
Get one of the test analysis sets.- Parameters:
seqOrSound
- 0 = Sequence, 1 = Single Sounds.- Returns:
- Analysis set
-