Class Data

java.lang.Object
  extended by Data

public class Data
extends java.lang.Object

contains data in array format for the input and output values also contains flags to be checked before and after perming FFT analysis


Field Summary
static int FFT_LENGTH
           
static int POWER_OF_FFT
           
 
Method Summary
 void applyWindow()
          multiplies the input data by the window function
 int getSize()
          returns the size of the data object
 void initializeArrays()
          initializes the output data array
 void initializeWindowFunction()
          writes all ones into the window function so that all values of input will pass through
 void timeShift()
          shifts starting point of the fft window to time = 0
 void zeroPad()
          zero pad the windowed data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FFT_LENGTH

public static final int FFT_LENGTH
See Also:
Constant Field Values

POWER_OF_FFT

public static final int POWER_OF_FFT
See Also:
Constant Field Values
Method Detail

initializeWindowFunction

public void initializeWindowFunction()
writes all ones into the window function so that all values of input will pass through


getSize

public int getSize()
returns the size of the data object

Returns:
the number of samples in the data object

initializeArrays

public void initializeArrays()
initializes the output data array


applyWindow

public void applyWindow()
multiplies the input data by the window function


zeroPad

public void zeroPad()
zero pad the windowed data


timeShift

public void timeShift()
shifts starting point of the fft window to time = 0