lentil.propagate_dft#

lentil.propagate_dft(wavefront, pixelscale, shape=None, prop_shape=None, oversample=2, mask=None)[source]#

Propagate a Wavefront in the far-field using the DFT.

Parameters:
  • wavefront (Wavefront) – Wavefront to propagate

  • pixelscale (float or (2,) float) – Physical sampling of output Wavefront. If a single value is supplied, the output is assumed to be uniformly sampled in both x and y.

  • shape (int or (2,) tuple of ints or None) – Shape of output Wavefront. If None (default), the wavefront shape is used.

  • prop_shape (int or (2,) tuple of ints, optional) – Shape of propagation output. If None (default), prop_shape = prop. If prop_shape != prop, the propagation result is placed in the appropriate location in the output plane. prop_shape should not be larger than prop.

  • oversample (float, optional) – Number of times to oversample the output plane. Default is 2.

Returns:

wavefront – The propagated Wavefront

Return type:

Wavefront