This repository contains source code implementing a hybrid wavefront optimization technique that combines Generated Jacobian Equations (GJE) with the Iterative Fourier Transform Algorithm (IFTA).
The approach allows generating tailored phase maps for complex beam shaping tasks, supporting integration into physics-based and machine-learning-driven optimization pipelines.
The algorithm provides a flexible workflow for optical wavefront optimization, allowing:
- Refinement of optical field distribution via IFTA iterations.
- Applications in beam shaping, holographic pattern generation, and optical design.
Importantly, solutions obtained from initial GJE phase maps result in reduced speckle patterns in the generated far-field irradiance distributions.
The implementation is written in Python and relies on the following packages:
numpy, torch, matplotlib, scipyThese dependencies can be installed with:
pip install numpy torch matplotlib scipy