add function to read fft and create 2D data with fft on a plan x or y