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 Details

    • DataUnit2D

      public DataUnit2D(DataUnitBaseData basicData)
    • 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)