Shift sampling theory of Fourier transform computation