# WrightTools.kit.fft¶

WrightTools.kit.fft(xi, yi, axis=0)tuple[source]

Take the 1D FFT of an N-dimensional array and return “sensible” properly shifted arrays.

Parameters
• xi (numpy.ndarray) – 1D array over which the points to be FFT’ed are defined

• yi (numpy.ndarray) – ND array with values to FFT

• axis (int) – axis of yi to perform FFT over

Returns

• xi (1D numpy.ndarray) – 1D array. Conjugate to input xi. Example: if input xi is in the time domain, output xi is in frequency domain.

• yi (ND numpy.ndarray) – FFT. Has the same shape as the input array (yi).