harminv
The harminv
library decomposes a complex valued function of a
discrete variable into a sum of decaying sinusoids given a finite
sample. It uses a method with better accuracy and convergence than
Fourier analysis or least squares curve fitting. More information
is available at http://ab-initio.mit.edu/wiki/index.php/Harminv.