Instrument Neutral Distributed Interface INDI  2.0.2
Functions
fft.c File Reference
#include "dsp.h"
#include <fftw3.h>

Go to the source code of this file.

Functions

void dsp_fourier_2dsp (dsp_stream_p stream)
 Fill the magnitude and phase buffers with the current data in stream->dft. More...
 
void dsp_fourier_2complex_t (dsp_stream_p stream)
 Obtain the complex fourier tranform from the current magnitude and phase buffers. More...
 
double * dsp_fourier_complex_array_get_magnitude (dsp_complex in, int len)
 Obtain a complex number's array magnitudes. More...
 
double * dsp_fourier_complex_array_get_phase (dsp_complex in, int len)
 Obtain a complex number's array phases. More...
 
void dsp_fourier_phase_mag_array_get_complex (double *mag, double *phi, complex_t *out, int len)
 Obtain a complex array from phase and magnitude arrays. More...
 
void dsp_fourier_dft (dsp_stream_p stream, int exp)
 Perform a discrete Fourier Transform of a dsp_stream. More...
 
void dsp_fourier_idft (dsp_stream_p stream)
 Perform an inverse discrete Fourier Transform of a dsp_stream. More...