Lentil is a Python library for modeling the imaging chain of an optical system.
It was originally developed at NASA's Jet Propulsion Lab by the Wavefront Sensing and
Control group (383E) to provide an easy to use framework for simulating point spread
functions of segmented aperture telescopes.
Lentil is still under active development and new features continue to be added.
Until Lentil reaches version 1.0, the API is not guaranteed to be stable, but
changes breaking backwards compatibility will be noted.
An overview of Lentil features
Getting started tutorials
Learn basic concepts
Defining pupil, image, and intermediate optical planes
How Lentil numerically models diffraction propagation
Represent a variety of wavefront errors
Details of Lentil's coordinate system
Working with radiometric data
Tools for modeling focal plane arrays
Applying static and dynamic artifacts to modeled images
General solutions to common problems
Making models run faster
Using Lentil with MATLAB
Tips and tricks for using Lentil and MATLAB together
Lentil API reference
Automatically generated reference documentation
Lentil contributor guide
How to contribute
Specialized documentation describing Lentil's technical inner workings