Class DelphinIDUtils.WhistleContourMAT
java.lang.Object
PamguardMVC.PamDataUnit<PamDataUnit,PamDataUnit>
whistlesAndMoans.AbstractWhistleDataUnit
rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDUtils.WhistleContourMAT
- All Implemented Interfaces:
Comparable<PamDataUnit>
,PamDetection
,AcousticDataUnit
,WhistleContour
- Enclosing class:
DelphinIDUtils
-
Constructor Summary
ConstructorDescriptionWhistleContourMAT
(DataUnitBaseData basicData, double[] freq, double[] times) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Get an array of the peak frequencies in Hz.int
Get the total number of slicesdouble[]
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, 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
-
WhistleContourMAT
-
-
Method Details
-
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
-
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.
-