Package clickDetector.background
Class ClickBackgroundDataUnit
java.lang.Object
PamguardMVC.PamDataUnit
PamguardMVC.background.BackgroundDataUnit
clickDetector.background.ClickBackgroundDataUnit
- All Implemented Interfaces:
Comparable
-
Constructor Summary
ConstructorDescriptionClickBackgroundDataUnit
(long timeMilliseconds, int channelBitmap, double[] levels) ClickBackgroundDataUnit
(DataUnitBaseData dataUnitBaseData, double[] levels) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double[]
void
setLevels
(double[] levels) Set the levels for multiple channels and also calculate their mean.Methods inherited from class PamguardMVC.background.BackgroundDataUnit
getAbsSLP
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
-
ClickBackgroundDataUnit
public ClickBackgroundDataUnit(long timeMilliseconds, int channelBitmap, double[] levels) -
ClickBackgroundDataUnit
-
-
Method Details
-
getCountSPL
public double getCountSPL()- Specified by:
getCountSPL
in classBackgroundDataUnit
-
getLevels
public double[] getLevels()- Returns:
- the levels
-
setLevels
public void setLevels(double[] levels) Set the levels for multiple channels and also calculate their mean.- Parameters:
levels
- the levels to set
-