public class RWEDataUnit extends AbstractWhistleDataUnit
Modifier and Type | Field and Description |
---|---|
RWESound |
rweSound |
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD
Constructor and Description |
---|
RWEDataUnit(long timeMilliseconds,
int channelBitmap,
long startSample,
long duration,
RWESound rweSound) |
Modifier and Type | Method and Description |
---|---|
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
|
addSubDetection, addSuperDetection, findSubDetection, getDetectionType, getEventEndTime, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, replaceSubDetection, setDetectionType, setEventEndTime, setPeakTime, setUniqueSuperDetection
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, 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 RWESound rweSound
public RWEDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration, RWESound rweSound)
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