def ift2(G, dfx, dfy): Nx = G.shape[1] Ny = G.shape[0] return ifftshift(ifft2(ifftshift(G))) * Nx * Ny * dfx * dfy