Class DLDataUnit
java.lang.Object
PamguardMVC.PamDataUnit
rawDeepLearningClassifier.dlClassification.DLDataUnit
- All Implemented Interfaces:
Comparable
A data unit created from classification results of DL model. This data unit holds one model results, i.e.
corresponds to one segment of raw data.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionDLDataUnit
(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples, PredictionResult modelResult) Constructor using the original parameters that have now been moved to DataUnitBaseDataDLDataUnit
(DataUnitBaseData baseData, float[] data) DLDataUnit
(DataUnitBaseData baseData, PredictionResult modelResult) -
Method Summary
Methods 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, 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
-
DLDataUnit
public DLDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples, PredictionResult modelResult) Constructor using the original parameters that have now been moved to DataUnitBaseData- Parameters:
timeMilliseconds
- - the time in milliseconds.channelBitmap
- - the channel bitmap in samplesstartSample
- - the start sample in samplesmodelResult
- - the deep learning resultduration
- (number of samples, not milliseconds)
-
DLDataUnit
-
DLDataUnit
-
-
Method Details
-
getPredicitionResult
Get the model result.- Returns:
- the model result.
-