Class SignalFFT

java.lang.Object
org.episteme.core.mathematics.analysis.transform.SignalFFT

public class SignalFFT extends Object
Signal Processing FFT (Fast Fourier Transform).

Optimized for signal processing, operating on primitive arrays or Real arrays. Uses AlgorithmManager for hardware acceleration.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • SignalFFT

      public SignalFFT()
  • Method Details

    • fft

      public static void fft(Real[] real, Real[] imag)
      Compute forward FFT of complex data.
      Parameters:
      real - Real part (modified in place)
      imag - Imaginary part (modified in place)
    • ifft

      public static void ifft(Real[] real, Real[] imag)
      Compute inverse FFT.
    • fft

      public static void fft(double[] real, double[] imag)
      Primitive versions
    • ifft

      public static void ifft(double[] real, double[] imag)
    • fft2D

      public static void fft2D(double[][] real, double[][] imag)
      2D Transforms
    • fftReal

      public static Real[][] fftReal(Real[] data)
      FFT of real-valued data.
      Parameters:
      data - Real input (must be power of 2 length)
      Returns:
      [real_part, imag_part]
    • magnitude

      public static Real[] magnitude(Real[] real, Real[] imag)
      Compute magnitude spectrum.
    • phase

      public static Real[] phase(Real[] real, Real[] imag)
      Compute phase spectrum.
    • powerSpectrum

      public static Real[] powerSpectrum(Real[] data)
      Power spectral density.
    • convolve

      public static Real[] convolve(Real[] a, Real[] b)
      Compute convolution using FFT.
    • correlate

      public static Real[] correlate(Real[] a, Real[] b)
      Compute correlation using FFT.