Package qa
Class QASequenceDataUnit
- All Implemented Interfaces:
 Comparable<PamDataUnit>
- 
Field Summary
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, localisation - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoubleCalculate the percentage of QASounds that have been detected in this sequencevoidsetDistanceToAirgun(Double distanceToAirgun) voidsetDistanceToHydrophone(Double distanceToHydrophone) voidsetSoundSequence(SoundSequence soundSequence) toString()Methods inherited from class qa.QADataUnit
getQaOpsDataUnit, setQaOpsDataUnitMethods inherited from class PamguardMVC.superdet.SuperDetection
addSubDetection, addSubDetectionInfo, addSubDetections, clearSubDetectionData, clearSubDetectionObjects, clearSubdetectionsRemoved, findSubDetection, findSubDetection, findSubDetection, findSubdetectionInfo, findSubDetectionInfo, getLoadedSubDetectionsCount, getPresentSubDetections, getSubDetection, getSubdetectionInfo, getSubDetectionInfo, getSubDetections, getSubDetectionsCount, getSubdetectionsRemoved, getSubDetectionSyncronisation, isAllowSubdetectionSharing, removeAllSubDetections, removeSubDetection, replaceSubDetection, sortSubDetectionsMethods inherited from class PamguardMVC.PamDataUnit
addDataAnnotation, addSuperDetection, amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, calcSnapshotGeometry, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, findDataAnnotation, freeData, getAbsBlockIndex, getAmplitudeDB, getAnnotationsSummaryString, getBasicData, getCalculatedAmlitudeDB, getChannelBitmap, getColourIndex, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDataUnitPopupMenu, getDurationInMilliseconds, getEndTimeInMilliseconds, getFrequency, getFrequencyOverlap, getGpsPosition, getHydrophoneBitmap, getHydrophoneHeading, getLastChangeTime, getLastSample, getLastUpdateTime, getLocalisation, getMeasuredAmplitude, getMeasuredAmplitudeType, getNoiseBackground, getNumDataAnnotations, getOriginLatLong, getParentDataBlock, getSampleDuration, getSampleDurationAsInt, getSeconds, getSequenceBitmap, getSequenceBitmapObject, getSignalExcess, getSignalSPL, getSnapshotGeometry, getStartSample, getSummaryString, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, getSuperId, getTimeDelaysSeconds, getTimeMilliseconds, getTimeNanoseconds, getTimeOverlap, getUID, getUpdateCount, isEmbryonic, isForceAmpRecalc, linAmplitudeToDB, removeDataAnnotation, removeDataAnnotation, removeSuperDetection, setAbsBlockIndex, setCalculatedAmlitudeDB, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setDurationInMilliseconds, setEmbryonic, setForceAmpRecalc, setFrequency, setInfo, setLastUpdateTime, setLocalisation, setMeasuredAmpAndType, setMeasuredAmplitude, setMeasuredAmplitudeType, setNoiseBackground, setParentDataBlock, setSampleDuration, setSequenceBitmap, setSignalExcess, setSignalSPL, setSnapshotGeometry, setStartSample, setTimeDelaysSeconds, setTimeMilliseconds, setUID, setUniqueSuperDetection, sortOutputMaps, updateDataUnit 
- 
Constructor Details
- 
QASequenceDataUnit
 
 - 
 - 
Method Details
- 
getSoundSequence
- Returns:
 - the soundSequence
 
 - 
setSoundSequence
- Parameters:
 soundSequence- the soundSequence to set
 - 
getDistanceToAirgun
- Returns:
 - the distanceToAirgun
 
 - 
setDistanceToAirgun
- Parameters:
 distanceToAirgun- the distanceToAirgun to set
 - 
getDistanceToHydrophone
- Returns:
 - the distanceToHydrophone
 
 - 
setDistanceToHydrophone
- Parameters:
 distanceToHydrophone- the distanceToHydrophone to set
 - 
getFractionDetected
public double getFractionDetected()Calculate the percentage of QASounds that have been detected in this sequence- Returns:
 - the percentage detected. Note that if there are no sounds yet, a 0 is returned
 
 - 
toString
 
 -