This repository includes the code used in the SIGGRAPH 2024 paper "Aperture-aware lens design" by Teh et al.
The code relies on the following libraries:
- jax
- numpy
- tqdm
- plotly
They can be installed with the command: pip install -r requirements.txt
In order to run the example code, simply run:
python -m experiments.run_spot_error
from the source root directory.
If interested in installing the code for use with your own code, you can install the "dlt" package with
pip install .
The package can be then be used by importing dlt
import dlt
# your code here
Zemax files are from https://www.lens-designs.com/
If you use this code, please cite our paper.