Importing lentil and subpackages#

Most of the functionality in Lentil resides in the standard library. Once installed, Lentil’s standard library can be imported as follows:

>>> import lentil

If you’d prefer to use Lentil en français, you can try

>>> import lentil as le

API documentation for Lentil’s standard library is available here.

Lentil subpackages#

Lentil includes subpackges which provide domain-specific functionality. The available subpackages are described below:

Subpackage

Purpose

detector

Focal plane modeling

radiometry

Working with spectral data

Import a subpackage with

>>> from lentil import detector