@Deprecated
public class FFT
extends java.lang.Object
Constructor and Description |
---|
FFT()
Deprecated.
Simple constructer, creates an fft object which provides the methods:
crossCorrelation, recursiveIFFT, and recursiveFFT.
|
Modifier and Type | Method and Description |
---|---|
double[] |
crossCorrelation(double[] signal,
int signalStart,
int signalEnd,
double[] kernel,
int kernelStart,
int kernelEnd)
Deprecated.
Performs cross correlation in the frequency domain using FFT and IFFT.
|
static int |
log2(int num)
Deprecated.
|
static int |
nextBinaryExp(int sourceNumber)
Deprecated.
Finds the next highest binary exponential of the input integer.
|
Complex[] |
recursiveFFT(Complex[] complexIn)
Deprecated.
|
Complex[] |
recursiveIFFT(Complex[] complexIn)
Deprecated.
|
boolean |
testCrossCorrelation()
Deprecated.
This is a test method for crossCorrelation.
|
public FFT()
public boolean testCrossCorrelation()
public static int nextBinaryExp(int sourceNumber)
sourceNumber
- public static int log2(int num)
@Deprecated public Complex[] recursiveFFT(Complex[] complexIn)
complexIn
- The data array of type Complex.@Deprecated public Complex[] recursiveIFFT(Complex[] complexIn)
complexIn
- The data array of type Complex.public double[] crossCorrelation(double[] signal, int signalStart, int signalEnd, double[] kernel, int kernelStart, int kernelEnd)
signal
- An array of type double containing the signal.signalStart
- The index of where the signal starts within the array.signalEnd
- The index of where the signal ends within the array.kernel
- An array of type double containing the kernel.kernelStart
- The index of where the kernel starts within the array.kernelEnd
- The index of where the kernel ends within the array.