On the Replica Fourier Transform