Package RightWhaleEdgeDetector
Class RWEDataUnit
java.lang.Object
PamguardMVC.PamDataUnit<PamDataUnit,PamDataUnit>
whistlesAndMoans.AbstractWhistleDataUnit
RightWhaleEdgeDetector.RWEDataUnit
- All Implemented Interfaces:
Comparable<PamDataUnit>
,PamDetection
,AcousticDataUnit
,WhistleContour
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRWEDataUnit
(RWEProcess rweProcess, long timeMilliseconds, int channelBitmap, long startSample, long duration, RWESound rweSound) RWEDataUnit
(RWEProcess rweProcess, DataUnitBaseData basicData, RWESound rweSound) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Get an array of the peak frequencies in Hz.int
Get the total number of slicesReturn an html formatted summary string describing the detection which can be used in tooltips anywhere in PAMGuard.double[]
Get an array of the times of each slice in secondsMethods 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, 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
-
Field Details
-
rweSound
-
-
Constructor Details
-
RWEDataUnit
public RWEDataUnit(RWEProcess rweProcess, long timeMilliseconds, int channelBitmap, long startSample, long duration, RWESound rweSound) -
RWEDataUnit
-
-
Method Details
-
getFreqsHz
public double[] getFreqsHz()Description copied from class:AbstractWhistleDataUnit
Get an array of the peak frequencies in Hz.- Specified by:
getFreqsHz
in interfaceWhistleContour
- Specified by:
getFreqsHz
in classAbstractWhistleDataUnit
- Returns:
- peak frequencies in Hz.
-
getSliceCount
public int getSliceCount()Description copied from class:AbstractWhistleDataUnit
Get the total number of slices- Specified by:
getSliceCount
in classAbstractWhistleDataUnit
- Returns:
- total number of slices
-
getTimesInSeconds
public double[] getTimesInSeconds()Description copied from class:AbstractWhistleDataUnit
Get an array of the times of each slice in seconds- Specified by:
getTimesInSeconds
in interfaceWhistleContour
- Specified by:
getTimesInSeconds
in classAbstractWhistleDataUnit
- Returns:
- times in seconds
-
getSummaryString
Description copied from class:PamDataUnit
Return an html formatted summary string describing the detection which can be used in tooltips anywhere in PAMGuard.- Overrides:
getSummaryString
in classPamDataUnit<PamDataUnit,
PamDataUnit> - Returns:
- summary string
-