demorest/Cyclic-Modelling — pull request #1 by gitj (2012-11-05 16:01:44+00:00)
Title: Fix scaling in fft normalization routines to simplify testing and to match documentation

I noticed in the comments that you intended to fix this bug eventually, so here's a convenient pull request to do so.

scale by 2*nharm - 1 instead of nharm, because this is how fftw scales the output.