Fourier transform
To convert a signal from time to frequency domain or to change between other conjugate variables like position and momentum (k-space) a discrete Fourier transform can be applied. Following options can be used to suite one needs:
Window function (Welch, Hann, Hamming, etc.) to avoid leakage effects
Output (magnitude, amplitude, phase, dB, etc.)
One or two sided spectrum with or without shifting
X axis scaling to frequency, index or period