add script for fourier interp