fft#
- mrinufft.extras.fft(image, dims, shape=None)[source]#
Compute n-dimensional FFT along the last
dimsaxes.- Parameters:
image (NDArray)
dims (int) – Number of dimensions on which the fft is performed, starting from last. Required (no default): for an array with a leading non-spatial axis (e.g. coils), guessing the wrong dims silently transforms that axis too.
shape (tuple[int, ...], optional) – Output shape, by default same as output.
- Returns:
Fourier Transform of image.
- Return type:
NDArray