Package IshmaelDetector
Class IshDetFnDataUnit
- All Implemented Interfaces:
Comparable<PamDataUnit>
,AcousticDataUnit
public class IshDetFnDataUnit
extends PamDataUnit<PamDataUnit,SuperDetection>
implements AcousticDataUnit
Standard data unit for Ishmael detector output.
Ishmael detectors essentially always results in a ID data series of detector output and noise floor. A peak can then be selected on either the detector output or the ratio between the detector ouput and noise.
IshDetFnDataUnit stores a chunk of the raw output from the Ishmael detectors.
- Author:
- David Mellinger and Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionIshDetFnDataUnit
(long timeMilliseconds, int channelBitmap, long startSample, long duration, double[] detData) IshDetFnDataUnit
(DataUnitBaseData baseData, double[][] detData2) -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
Get Ishmael detector data.void
setDetData
(double[] detData) Set the Ishmael detector output data.void
setDetData
(double[][] detData) Set the Ishmael detector data.Methods 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
-
IshDetFnDataUnit
public IshDetFnDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration, double[] detData) -
IshDetFnDataUnit
-
-
Method Details
-
getDetData
public double[][] getDetData()Get Ishmael detector data. The first 1D array (detData[0]) is the detector output The second 1D array (deData[0]) is the noise floor of the detector. Null if the detector has a static threshold.- Returns:
- ishmael detector data
-
setDetData
public void setDetData(double[][] detData) Set the Ishmael detector data. The first 1D array (detData[0]) is the detector output The second 1D array (deData[0]) is the noise floor of the detector. Null if the detector has a static threshold. -
setDetData
public void setDetData(double[] detData) Set the Ishmael detector output data.
-