Light Propagation

Propagator Class

Propagator(mode[, polar, backend])

Utility Functions

compute_pad_width(field, linear)

Double spatial dimensions while preserving the integer-centered origin.

unpad(field_padded, pad_width)

Crop (left, right, top, bottom), including zero-width edges.