Class FFTPlot.SimpleFFTDataUnit

java.lang.Object
PamguardMVC.PamDataUnit<T,U>
PamguardMVC.DataUnit2D<PamDataUnit,SuperDetection>
detectionPlotFX.plots.FFTPlot.SimpleFFTDataUnit
All Implemented Interfaces:
Comparable<PamDataUnit>
Enclosing class:
FFTPlot<D extends PamDataUnit>

public class FFTPlot.SimpleFFTDataUnit extends DataUnit2D<PamDataUnit,SuperDetection>
  • Constructor Details

    • SimpleFFTDataUnit

      public SimpleFFTDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration, ComplexArray fftData, int fftSlice, float sR)
  • Method Details

    • getMagnitudeData

      public double[] getMagnitudeData()
      Specified by:
      getMagnitudeData in class DataUnit2D<PamDataUnit,SuperDetection>
      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)