linop.FFT#
- class bartorch.linop.FFT#
Bases:
LinearOperatorBART’s unitary Fourier transform along
axes, centred by default.- Parameters:
shape (tuple of int) – The shape it transforms, C order.
axes (int or tuple of int) – Which axes to transform, as indices into
shape; negative indices count from the end.inverse (bool, default=False) – Transform the other way.
centred (bool, default=True) – Put the zero frequency in the middle, which is BART’s
fftc.
Examples
>>> F = FFT((8, 16), axes=(-1, -2)) >>> F(x).shape torch.Size([8, 16])
Also has the methods and properties of LinearOperator.