Package PamguardMVC
Class DataUnit2D<T extends PamDataUnit,U extends SuperDetection>
java.lang.Object
PamguardMVC.PamDataUnit<T,U>
PamguardMVC.DataUnit2D<T,U>
- Type Parameters:
T
-U
-
- All Implemented Interfaces:
Comparable<PamDataUnit>
- Direct Known Subclasses:
BeamOGramDataUnit
,DummyDataUnit2D
,FFTDataUnit
,FFTPlot.SimpleFFTDataUnit
,RawFFTPlot.SimpleFFTDataUnit
public abstract class DataUnit2D<T extends PamDataUnit,U extends SuperDetection>
extends PamDataUnit<T,U>
Data units that can be plotted on the FX 2D displays, such as FFT data, beam former
output, etc.
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionDataUnit2D
(long timeMilliseconds) DataUnit2D
(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples) DataUnit2D
(DataUnitBaseData basicData) -
Method Summary
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
-
DataUnit2D
-
DataUnit2D
public DataUnit2D(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples) -
DataUnit2D
public DataUnit2D(long timeMilliseconds)
-
-
Method Details
-
getMagnitudeData
public abstract double[] getMagnitudeData()- Returns:
- data for plotting. Should be converted to the same scale as is used by the plot axis (usually dB, but might be counts or some other data type)
-