mri.operators.fourier.online
mri.operators.fourier.online#
Fourier operators for online reconstructions.
- class ColumnFFT(shape, line_index=0, n_coils=1)[source]#
Bases:
mri.operators.fourier.base.FourierOperatorBase
Fourier operator optimized to compute the 2D FFT + selection of various line of the kspace.
The FFT will be normalized in a symmetric way. Currently work only in 2D or stack of 2D.
- property mask#
Return the column index of the mask.
- op(img)[source]#
Compute the masked 2D Fourier transform of a 2d or 3D image.
- Parameters
img (numpy.ndarray) – input ND array with the same shape as the mask. For multichannel images the coils dimension is put first
- Returns
x – masked Fourier transform of the input image. For multichannel images the coils dimension is put first
- Return type
- adj_op(x)[source]#
Compute inverse masked Fourier transform of a ND image.
- Parameters
x (numpy.ndarray) – masked Fourier transform data. For multichannel images the coils dimension is put first
- Returns
img – inverse ND discrete Fourier transform of the input coefficients. For multichannel images the coils dimension is put first
- Return type