PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIFFT_float Class Reference

Single-precision FFT helper that stores the last transform result. More...

#include <pifft.h>

Public Member Functions

 PIFFT_float ()
 Constructs an empty transformer.
PIVector< complexf > * calcFFT (const PIVector< complexf > &val)
 Calculates complex FFT for the input signal.
PIVector< complexf > * calcFFT (const PIVector< float > &val)
 Calculates FFT for a real-valued input signal.
PIVector< complexf > * calcFFTinverse (const PIVector< complexf > &val)
 Calculates inverse FFT for a complex spectrum.
PIVector< complexf > * calcHilbert (const PIVector< float > &val)
 Calculates the analytic signal using a Hilbert transform.
PIVector< float > getAmplitude () const
 Returns magnitudes of the last calculated result.
PIVector< float > getReal () const
 Returns real parts of the last calculated result.
PIVector< float > getImag () const
 Returns imaginary parts of the last calculated result.

Detailed Description

Single-precision FFT helper that stores the last transform result.