ift2¶
- dnois.fourier.ift2(h: Tensor, dx: float | Tensor = None, dy: float | Tensor = None, dims: tuple[int, int] = (-2, -1)) Tensor ¶
Computes the 2D inverse Fourier transform of signal
h
.- Parameters:
h (Tensor) – The function to be inverse transformed.
dx – Sampling spacing in x direction i.e. the second dimension of original domain, either a float, a 0D tensor, or a tensor broadcastable with
h
. Default: omitted.dy – Sampling spacing in y direction i.e. the first dimension, similar to
dx
. Default: identical todx
.dims – The dimensions to be transformed. Default: (-2, -1).
- Type:
float or Tensor
- Type:
float or Tensor
- Type:
tuple[int, int]
- Returns:
Inverse Fourier transform of
h
.- Return type:
Tensor