Lentil
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 provides classes for representing optical elements with a simple interface for including effects like wavefront error, radiometric properties, and various noise and aberration sources. Lentil also provides numerical methods for performing Fraunhofer (far-field) diffraction calculations. The collection of classes provided by Lentil can be used to simulate imagery for a wide variety of optical systems.
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.
Installing
Install and update using pip:
pip install lentil
Links
Documentation: https://andykee.github.io/lentil/
Releases: https://pypi.org/project/lentil/
Issue tracker: https://github.com/andykee/lentil/issues/
Metadata
Release files for lentil 0.8.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lentil-0.8.10.tar.gz | 68.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lentil-0.8.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 132.3 kB
Release files / lentil-0.8.10.tar.gz
| Download URL | lentil-0.8.10.tar.gz |
|---|---|
| Size | 68.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23eae1439a46d1437d385b79f81292867ab61f9387ea9bd6655bdc13a9c9f044
|
|
BLAKE2b-256 checksum How to use checksums |
48a3261a485a6c5eaee132ad0166aac6cfc45c1a413eddca1489642e1f5c6592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / lentil-0.8.10-py3-none-any.whl
| Download URL | lentil-0.8.10-py3-none-any.whl |
|---|---|
| Size | 64.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33315eeccfcf188bc3557ebe57ae281c801b05f22443100cd7678a69dde96fec
|
|
BLAKE2b-256 checksum How to use checksums |
e01f28f34c143f025b2f1deeee5a90ad1b99507c06ef36f52685a5fd25a1686c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency log