title: How to calculate a Fourier series in Numpy?
body: <p>I have a periodic function of period T and would like to know how to obtain the list of the Fourier coefficients. I tried using <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.fft.fft.html" rel="noreferrer">fft</a> module from numpy but it seems more dedicated to Fourier transforms than series.
  Maybe it a lack of mathematical knowledge, but I can't see how to calculate the Fourier coefficients from fft.</p>
  
  <p>Help and/or examples appreciated.</p>