polyTEM.image.drift.tensor_shift_fft

polyTEM.image.drift.tensor_shift_fft(fft)

Shift zero frequency spatial frequency component to center of 2D image. For Pytorch implementation :param fft: 2D FFT obtained using torch_fft function

Returns:

shifted FFT with DC frequency component in center of image.