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
FieldsFields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, localisation - 
Constructor Summary
ConstructorsConstructorDescriptionRWEDataUnit(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.intGet 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, getGpsPosition, 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:AbstractWhistleDataUnitGet an array of the peak frequencies in Hz.- Specified by:
 getFreqsHzin interfaceWhistleContour- Specified by:
 getFreqsHzin classAbstractWhistleDataUnit- Returns:
 - peak frequencies in Hz.
 
 - 
getSliceCount
public int getSliceCount()Description copied from class:AbstractWhistleDataUnitGet the total number of slices- Specified by:
 getSliceCountin classAbstractWhistleDataUnit- Returns:
 - total number of slices
 
 - 
getTimesInSeconds
public double[] getTimesInSeconds()Description copied from class:AbstractWhistleDataUnitGet an array of the times of each slice in seconds- Specified by:
 getTimesInSecondsin interfaceWhistleContour- Specified by:
 getTimesInSecondsin classAbstractWhistleDataUnit- Returns:
 - times in seconds
 
 - 
getSummaryString
Description copied from class:PamDataUnitReturn an html formatted summary string describing the detection which can be used in tooltips anywhere in PAMGuard.- Overrides:
 getSummaryStringin classPamDataUnit<PamDataUnit,PamDataUnit> - Returns:
 - summary string
 
 
 -