Package gpl
Class GPLStateDataUnit
java.lang.Object
PamguardMVC.PamDataUnit
gpl.GPLStateDataUnit
- All Implemented Interfaces:
Comparable
-
Constructor Summary
ConstructorDescriptionGPLStateDataUnit
(long timeMilliseconds, int channel, double baseline, int peakState) Deprecated.GPLStateDataUnit
(long timeMilliseconds, int sequenceNum, int channelMap, double baseline, double ceilnoise, double threshfloor, int peakState) Constructor that sets both channel map and sequence map for this data unitGPLStateDataUnit
(DataUnitBaseData baseData, double baseline, double ceilnoise, double threshfloor, int peakState) constructor used reading back from binary files. -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
int
double
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
-
GPLStateDataUnit
public GPLStateDataUnit(long timeMilliseconds, int sequenceNum, int channelMap, double baseline, double ceilnoise, double threshfloor, int peakState) Constructor that sets both channel map and sequence map for this data unit- Parameters:
timeMilliseconds
-sequenceNum
-channelMap
-baseline
-ceilnoise
-threshfloor
-peakState
-
-
GPLStateDataUnit
public GPLStateDataUnit(DataUnitBaseData baseData, double baseline, double ceilnoise, double threshfloor, int peakState) constructor used reading back from binary files.- Parameters:
baseData
-baseline
-ceilnoise
-threshfloor
-peakState
-
-
GPLStateDataUnit
@Deprecated public GPLStateDataUnit(long timeMilliseconds, int channel, double baseline, int peakState) Deprecated.Constructor that sets only channel map for this unit- Parameters:
timeMilliseconds
-channel
-baseline
-peakState
-
-
-
Method Details
-
getCeilnoise
public double getCeilnoise()- Returns:
- the ceilnoise
-
getThreshfloor
public double getThreshfloor()- Returns:
- the threshfloor
-
getBaseline
public double getBaseline()- Returns:
- the baseline
-
getPeakState
public int getPeakState()- Returns:
- the peakState
-