magneticScattering.dft.dftn_axes#

dftn_axes(data, ft_pix_vec=None, offset_vec=None, upsample_vec=None, axes=None)#

Performs n-dimensional discrete Fourier transform along specified axes.

Parameters:
datanp.ndarray

Input data to transform.

ft_pix_veclist of int (optional)

Number of Fourier transform points, one element per axis.

offset_veclist of int (optional)

Frequency offset to adjust the frequency grid, one element per axis.

upsample_veclist of float (optional)

Factor by which to upsample the frequency grid, one element per axis.

axeslist of int (optional)

Axes along which to perform the Fourier transform.

Returns:
Array of the computed Fourier transform.