Repository navigation
PADO 1.1.0
PADO 1.1.0 keeps existing public classes and methods, the pado import and the
PolarizedLight CUDA construction default while correcting numerical and
autograd behavior.
- Corrected Fresnel/Fraunhofer field scaling and phase, ASM evanescent handling,
Rayleigh-Sommerfeld sampling and PDMS wavelength-unit evaluation. - Added fixed-geometry
Propagator.preparereuse and K-space light/sampling APIs. - Kept PyTorch as the sole required runtime dependency; NumPy, Matplotlib and
SciPy are optionalarray,vizandmatextras. - Improved complex128 ASM transfer precision. This costs additional setup time;
prepared reuse and the optional experimental fused CUDA backend address
repeated fixed-geometry workloads.
Requires Python 3.10 or later and PyTorch 2.10 or later. Install a PyTorch build
appropriate for your CPU/CUDA environment, then install the release wheel:
python -m pip install "https://github.com/shwbaek/pado/releases/download/1.1.0/pado_optics-1.1.0-py3-none-any.whl"Numerical outputs can differ from 1.0.1 even when calls are unchanged. Read the
migration notes and recheck
application-specific sampling and padding. Fresnel/Fraunhofer approximation
limits still apply. Scalar-model and sampled numerical checks do not establish
measurement accuracy for arbitrary optical systems. RCWA integration is not
part of this release.
Validation covers CPU/CUDA, field and parameter gradients, 2048-square sampled
propagation conditions, installed-package isolation and archive reconstruction.
The README and migration examples also run with only PyTorch installed; the
updated documentation builds with zero Sphinx warnings.
Repository history metadata was cleaned up on 2026-09-28. The 1.1.0 tag now resolves to c303e8f47eb5bb5b35a357feaf1442e161277454; source content and all attached release files are unchanged.