Calc phase and FFT