Package whistlesAndMoans
Class AbstractWhistleDataUnit
- All Implemented Interfaces:
 Comparable<PamDataUnit>,PamDetection,AcousticDataUnit,WhistleContour
- Direct Known Subclasses:
 ConnectedRegionDataUnit,DelphinIDUtils.WhistleContourMAT,RWEDataUnit,ShapeDataUnit
public abstract class AbstractWhistleDataUnit
extends PamDataUnit<PamDataUnit,PamDataUnit>
implements WhistleContour, PamDetection 
- 
Field Summary
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, localisation - 
Constructor Summary
ConstructorsConstructorDescriptionAbstractWhistleDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration) AbstractWhistleDataUnit(DataUnitBaseData basicData)  - 
Method Summary
Modifier and TypeMethodDescriptionabstract double[]Get an array of the peak frequencies in Hz.abstract intGet the total number of slicesabstract 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, 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
- 
AbstractWhistleDataUnit
public AbstractWhistleDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration)  - 
AbstractWhistleDataUnit
 
 - 
 - 
Method Details
- 
getSliceCount
public abstract int getSliceCount()Get the total number of slices- Returns:
 - total number of slices
 
 - 
getTimesInSeconds
public abstract double[] getTimesInSeconds()Get an array of the times of each slice in seconds- Specified by:
 getTimesInSecondsin interfaceWhistleContour- Returns:
 - times in seconds
 
 - 
getFreqsHz
public abstract double[] getFreqsHz()Get an array of the peak frequencies in Hz.- Specified by:
 getFreqsHzin interfaceWhistleContour- Returns:
 - peak frequencies in Hz.
 
 
 -