Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 558 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 558 Bytes

HexDOE

Source code for hexagonal wave propagation and phase retrieval for hexagonal DOE design The implementation is based on PyTorch which supports efficient gradient propagation.

Prerequisite

PyTorch, Matplotlib, Numpy

Examples

Example 0: To create the field in hexagonal coordinates and propagate the field.

Example 1: Phase retrieval solved by back-propagation and Gerchberg-Saxton.