snake.toolkit.reconstructors.fourier
#
FFT operators for MRI reconstruction.
Module Contents#
Functions#
Apply the FFT operator. |
|
Apply the inverse FFT operator. |
|
API#
- snake.toolkit.reconstructors.fourier.fft(image: numpy.typing.NDArray, axis: int | tuple[int] = -1) numpy.typing.NDArray [source]#
Apply the FFT operator.
- Parameters:
image (array) β Image in space.
axis (int) β Axis to apply the FFT.
- Returns:
kspace_data β kspace data.
- Return type:
array
- snake.toolkit.reconstructors.fourier.ifft(kspace_data: numpy.typing.NDArray, axis: int | tuple[int] = -1) numpy.typing.NDArray [source]#
Apply the inverse FFT operator.
- Parameters:
kspace_data (array) β Image in space.
axis (int) β Axis to apply the FFT.
- Returns:
image_data β image data.
- Return type:
array
- snake.toolkit.reconstructors.fourier.init_nufft(data_loader: snake.mrd_utils.loader.NonCartesianFrameDataLoader, nufft_backend: str, density_compensation: bool = False)[source]#