public class ThresholdDetectorDataUnit extends PamDetection<PamDetection,PamDetection>
Along with the constructor's parameters (see its documentation for those), we also set the following properties of the PamDetection before sending it on its way:
MeasuredAmplitude - The peak value (in Decibels, 10*log10() ) of the Likelihood Ratio. The likelihood ratio is the signal estimate/background noise estimate
PeakTime - The time of the peak value described above. This value is in double precision seconds since the beginning of the data capture.
Frequency - This is a double[2] describing a frequency range. frequency[0] is the low frequency, frequency[1] the high frequency. These values are taken verbatim from the target configuration as entered by the user, not calculated from the actual detection region.
DetectionType - A string uniquely identifying the detection. We concatenate the configuration name with the signal band name which the detection occurred within. For example "Bowhead - End Note"; Bowhead is the configuration name, and End Note is the signal band.
EstimatedPeakTimeAccuracy - The estimated accuracy of our PeakTime property to help with localization calculations. This value is in seconds (double precision) and is currently set to the spectral processing time resolution.
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD
Constructor and Description |
---|
ThresholdDetectorDataUnit(long timeMilliseconds,
int channelBitmap,
long startSample,
long duration) |
Modifier and Type | Method and Description |
---|---|
double |
getEstimatedPeakTimeAccuracy() |
void |
setEstimatedPeakTimeAccuracy(double p) |
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 ThresholdDetectorDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration)
timeMilliseconds
- The time in milliseconds of the start of the detection.channelBitmap
- The channel that this detection was triggered on.startSample
- The sample number of the start of this detection. This is in terms of the raw
sampled data from the data source.duration
- The duration of the detection, also in terms of raw input data samples.