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.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lentil-0.8.11.tar.gz | 74.0 kB | With provenance | Details for lentil-0.8.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lentil-0.8.11-py3-none-any.whl | Python 3 | none | any | Details for lentil-0.8.11-py3-none-any.whl |
Total release size: 142.4 kB
Release files / lentil-0.8.11.tar.gz
| Download URL | lentil-0.8.11.tar.gz |
|---|---|
| Size | 74.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b24a5dbe46d6d20652fbefa1be02251b6e23ab8502ba276426bd2205ee15652
|
|
BLAKE2b-256 checksum How to use checksums |
a18e2e0239df9e9f78580c569d4123143ea8829817b38522e000433593fba514
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / lentil-0.8.11-py3-none-any.whl
| Download URL | lentil-0.8.11-py3-none-any.whl |
|---|---|
| Size | 68.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c35082c6daf52465c9c6873988d4965266f1fbda8cc570bb217dcd6427c25c8f
|
|
BLAKE2b-256 checksum How to use checksums |
f8ccaca6415edf06363454e1f56168df97ada446fe6d2fc52ad62bf849516eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logSecurity for lentil 0.8.11
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lentil-0.8.11.tar.gz
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 Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.