public class Fft extends FourierTransformationAlgorithm
Constructor and Description |
---|
Fft() |
Modifier and Type | Method and Description |
---|---|
int |
getNextValidNumberofSamples(int proposedNumberofSamples)
FFT size (must be 2^n), i.e. the number of samples to be transformed.
|
double[] |
transform(Signal[] signal)
FFT implementation - calculation of the spectrum.
|
getMaxNumberofSamples
public double[] transform(Signal[] signal)
transform
in class FourierTransformationAlgorithm
signal
- size must be 2^npublic int getNextValidNumberofSamples(int proposedNumberofSamples)
getNextValidNumberofSamples
in class FourierTransformationAlgorithm