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 Link icon

    • FFTDataArray Link icon

      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 Link icon

    • isFullArray Link icon

      public boolean isFullArray()
    • isHalfArray Link icon

      public boolean isHalfArray()
    • getFftData Link icon

      public ComplexArray getFftData()
      Returns:
      the fftData
    • getFftLength Link icon

      public int getFftLength()
      Returns:
      the fftLength
    • getWindowFunction Link icon

      public int getWindowFunction()
      Returns:
      the windowFunction