Package dbht
Class DbHtDataUnit
- All Implemented Interfaces:
Comparable<PamDataUnit>
,AcousticDataUnit
- Direct Known Subclasses:
OfflineDbHtDataUnit
-
Constructor Summary
ConstructorDescriptionDbHtDataUnit
(long timeMilliseconds, int channelBitmap, long startSample, long duration) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getMeasure
(int iMeasure) double
double
getRms()
double
void
setPeakPeak
(double peakPeak) void
setRms
(double rms) void
setZeroPeak
(double zeroPeak) 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
-
DbHtDataUnit
public DbHtDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration)
-
-
Method Details
-
getMeasure
public double getMeasure(int iMeasure) -
getRms
public double getRms()- Returns:
- the rms
-
setRms
public void setRms(double rms) - Parameters:
rms
- the rms to set
-
getZeroPeak
public double getZeroPeak()- Returns:
- the zeroPeak
-
setZeroPeak
public void setZeroPeak(double zeroPeak) - Parameters:
zeroPeak
- the zeroPeak to set
-
getPeakPeak
public double getPeakPeak()- Returns:
- the peakPeak
-
setPeakPeak
public void setPeakPeak(double peakPeak) - Parameters:
peakPeak
- the peakPeak to set
-