Package fftManager

Class FFTDataArray

java.lang.Object
fftManager.FFTDataArray

public class FFTDataArray extends Object
Class to better handle Complex FFT Data, including the FFT length along with the Complex data - this is important since FFT length cannot be extracted from the length of the Complex array since it's sometimes only stored half the fft length not the entire thing.
Author:
dg50
  • Constructor Details

    • FFTDataArray

      public FFTDataArray(ComplexArray fftData, int fftLength, int windowFunction)
      Construct an FFT Data Array
      Parameters:
      fftData - Array of complex objects
      fftLength - Length of FFT data
      windowFunction - window function used in calculation
  • Method Details

    • isFullArray

      public boolean isFullArray()
    • isHalfArray

      public boolean isHalfArray()
    • getFftData

      public ComplexArray getFftData()
      Returns:
      the fftData
    • getFftLength

      public int getFftLength()
      Returns:
      the fftLength
    • getWindowFunction

      public int getWindowFunction()
      Returns:
      the windowFunction