fourierror.freq#
The frequency axis of a discrete Fourier transform.
- fourierror.freq.frequencies(data, coord)#
Generate the DFT frequencies.
- Parameters:
data (
DataArray) – A scipp DataArray for which frequencies should be found.coord (
str) – The coordinate over which the frequencies should be found.
- Return type:
- Returns:
Angular DFT frequencies,
2 * pi * fftfreq(n, d), as a scipp Variable with dimensionomegaand the reciprocal unit ofcoord.- Raises:
TypeError – If the coordinate is not evenly spaced.