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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QATestResultclone()static QATestResultcombineReports(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.voidsetSequenceAnalysis(QATestAnalysis sequenceAnalysis) voidsetSequenceSummary(SequenceSummary sequenceSummary) voidsetSoundAnalysis(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
-
clone
-
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
-