Package rocca
Class RoccaLoggingDataUnit
- All Implemented Interfaces:
Comparable<PamDataUnit>
,PamDetection
,AcousticDataUnit
public class RoccaLoggingDataUnit
extends PamDataUnit<PamDataUnit,PamDataUnit>
implements PamDetection
Data unit containing the RoccaContourDataBlock to save to the database
- Author:
- Michael Oswald
-
Constructor Summary
ConstructorDescriptionRoccaLoggingDataUnit
(long timeMilliseconds, RoccaContourStats contourStats) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionreturn the EnumMap containing the measured/calculated parameters contained in the RoccaContourStats objectreturn the RoccaContourStats objectint
double
double
void
setClassifiedSpecies
(String classifiedAs) void
setClassifier2Used
(String classifier2Used) void
setClassifierUsed
(String classifierUsed) void
setContourStats
(RoccaContourStats contourStats) void
setDetectionCount
(int detectionCount) void
setFilename
(String clipFile) void
setLatitude
(double latitude) void
setLongitude
(double longitude) void
setSightingNum
(String sightingNum) void
void
setVoteList
(String voteList) 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
-
RoccaLoggingDataUnit
Main constructor- Parameters:
timeMilliseconds
- time recorded in the first data blockcontourStats
- the RoccaContourStats object containing the calculated/measured parameters from the contour
-
-
Method Details
-
getContourStatsObject
return the RoccaContourStats object -
getContourStats
return the EnumMap containing the measured/calculated parameters contained in the RoccaContourStats object -
setContourStats
-
getClassifiedSpecies
-
setClassifiedSpecies
-
getClassifierUsed
-
setClassifierUsed
-
getClassifier2Used
-
setClassifier2Used
-
getFilename
-
setFilename
-
getDetectionCount
public int getDetectionCount() -
setDetectionCount
public void setDetectionCount(int detectionCount) -
getSightingNum
-
setSightingNum
-
getSpList
-
setSpList
-
getVoteList
-
setVoteList
-
getLatitude
public double getLatitude() -
setLatitude
public void setLatitude(double latitude) -
getLongitude
public double getLongitude() -
setLongitude
public void setLongitude(double longitude)
-