pado.math.sc_idft_2d¶
- sc_idft_2d(U, Mx, My, delta_x, delta_y, delta_fx, delta_fy)[source]¶
Perform 2D scaled inverse DFT using separable 1D transforms.
- Parameters:
U (torch.Tensor) – Frequency domain input [My, Mx]
Mx (int) – Number of samples in x,y directions
My (int) – Number of samples in x,y directions
delta_x (float) – Target spatial sampling intervals (m)
delta_y (float) – Target spatial sampling intervals (m)
delta_fx (float) – Frequency sampling intervals (1/m)
delta_fy (float) – Frequency sampling intervals (1/m)
- Returns:
Spatial domain output [My, Mx]
- Return type:
Examples
>>> U = sc_dft_2d(field, Mx, My, dx, dy, dfx, dfy) >>> field_recovered = sc_idft_2d(U, Mx, My, dx, dy, dfx, dfy)