Examples

Example scripts are provided in the examples/ directory of the source repository:

  • example_ideal_lens.py — propagation through an ideal lens

  • example_arago_poisson.py — Arago-Poisson spot (diffraction by a disk)

  • propagation_spherical_wave.py — free-space propagation of a spherical wave

  • propagation_scaling_therorem_1D.py — 1-D scaling-theorem Fresnel propagator