Fourier methods for model selection