Presentation + Paper
23 August 2024 Lentil: an open-source library for fast optical propagation
Author Affiliations +
Abstract
Lentil is a Python package for developing high-performance diffraction simulations. Lentil provides an easy to use framework for modeling optical systems and simulating the wave propagation of light through them. Traditional Fourier optics-based approaches for numerically modeling diffraction rely on the Fast Fourier Transform (FFT) for simulating free space propagation. Despite computational efficiencies provided by the FFT, these simulations can be slow and memory-intensive due to very large array sizes needed to satisfy numerical sampling requirements imposed by the FFT algorithm. Modeling large apertures, highly aberrated or misaligned systems, or small features like primary mirror segment gaps demand even finer sampling, further degrading performance. Directly computing the discrete Fourier transform (DFT) in diffraction calculations provides greater flexibility and increased performance when compared with computing an equivalent FFT. Lentil offers generalized diffraction propagation routines using the DFT that improve simulation performance substantially, with additional optimizations for modeling segmented apertures. Lentil also implements a hybrid propagation algorithm blending physical and geometric optics to greatly improve performance in simulations where representing large tilts is required. Additionally, Lentil includes tools for modeling static and dynamic wavefront errors, radiometry, and focal plane arrays. The Lentil package and its accompanying documentation are freely available as open-source software.
Conference Presentation
(2024) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Andrew G. Kee, Mitchell Troy, Carl Nissly, Jonathan Tesch, Siddarayappa Bikkannavar, and David C. Redding "Lentil: an open-source library for fast optical propagation", Proc. SPIE 13099, Modeling, Systems Engineering, and Project Management for Astronomy XI, 1309902 (23 August 2024); https://doi.org/10.1117/12.3014733
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Wave propagation

Wavefronts

Fourier transforms

Modeling

Simulations

Diffraction

Aliasing

Back to Top