ifft

colibri.optics.functional.ifft(field, axis=(-2, -1))[source]

Inverse Fast Fourier Transform of an optical field

Parameters:
  • field (torch.Tensor) – Input field.

  • axis (tuple) – Tuple with the axes to perform the ifft.

Returns:

Inverse Fourier transform of the input field.

Return type:

torch.Tensor