3

After spending a lot of time searching for this, I thought that some Super User gurus might know the answer. I'm searching for an open source application to compute a FFT, that could:

  • Import a list of points from a text file (in any format; I could write conversion scripts if needed), for example 0,1; 1,2; 4,5
  • Compute the associated discrete transform, and output the list of coefficients

Ideally, it would also display the plot and the associated fourier decomposition on the same graph, to allow comparison, but this is not absolutely needed.

It can be either on Windows or on Linux/UNIX.
Can you think of a solution?

Kenster
  • 8,620
Clément
  • 950

3 Answers3

4

::pokes around the internet a little::

  • In Octave its called fft.
  • In R its called fft
  • In ROOT it's supported in the MathMore module which calls GSL. You access it from the TH1::FFT (and daughters) or through the interfaces in TVirtualFFT (though this claims to call FFTW, so I'm a little confused).

and I believe that all those tools support plotting as well.

1

Python has some libraries for this, e.g. try scipy's fft module. You could then use the matplotlib module for plotting. To get the data from the input you could use either plain Python or numpy's loadtxt which opens up potential for a whole lot of other processing capabilities.

0

Also check out SciLab. I used that in my Control Systems class to take the place of MatLab since I didn't have a university laptop. I'm not sure if it does exactly what you're asking, but check it out, it pretty full-featured and open source/ free! Lol

Thomas
  • 247