public class ShapeDataUnit extends AbstractWhistleDataUnit
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD
Constructor and Description |
---|
ShapeDataUnit(long timeMilliseconds,
int channelBitmap,
long startSample,
int duration,
WhistleShape whistleShape) |
Modifier and Type | Method and Description |
---|---|
double |
getAmplitudeDB() |
double |
getCalculatedAmlitudeDB() |
double[] |
getFreqsHz()
Get an array of the peak frequencies in Hz.
|
int |
getSliceCount()
Get the total number of slices
|
double[] |
getTimesInSeconds()
Get an array of the times of each slice in seconds
|
WhistleShape |
getWhistleShape() |
void |
setWhistleShape(WhistleShape whistleShape) |
addSubDetection, addSuperDetection, findSubDetection, getDetectionType, getEventEndTime, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, replaceSubDetection, setDetectionType, setEventEndTime, setPeakTime, setUniqueSuperDetection
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getSummaryString, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample
addDataAnnotation, clearOandAngles, clearUpdateCount, findDataAnnotation, getAbsBlockIndex, getChannelBitmap, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDetectionMatch, getDetectionMatch, getHydrophoneHeading, getLastUpdateTime, getLocalisation, getNumDataAnnotations, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, removeDataAnnotation, removeDataAnnotation, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
public ShapeDataUnit(long timeMilliseconds, int channelBitmap, long startSample, int duration, WhistleShape whistleShape)
public WhistleShape getWhistleShape()
public void setWhistleShape(WhistleShape whistleShape)
public double[] getFreqsHz()
AbstractWhistleDataUnit
getFreqsHz
in interface WhistleContour
getFreqsHz
in class AbstractWhistleDataUnit
public int getSliceCount()
AbstractWhistleDataUnit
getSliceCount
in class AbstractWhistleDataUnit
public double[] getTimesInSeconds()
AbstractWhistleDataUnit
getTimesInSeconds
in interface WhistleContour
getTimesInSeconds
in class AbstractWhistleDataUnit
public double getAmplitudeDB()
getAmplitudeDB
in class AcousticDataUnit
public double getCalculatedAmlitudeDB()
getCalculatedAmlitudeDB
in class AcousticDataUnit